Commit Graph

204 Commits

Author SHA1 Message Date
nicodvb 2ac9216641 simplified aid management in dvdnav_lang_from_aid(); patch by Joakim Patte
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21629 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-15 23:12:50 +00:00
nicodvb b55a18019f implemented dvdnav_lang_from_aid() to retrieve audio language
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21619 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-14 23:08:09 +00:00
nicodvb 1b5ce67b7e added dvdnav_aid_from_lang() to support -alang
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21616 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-14 22:11:43 +00:00
nicodvb a59ebe0c2d added function to return the language of the specified subtitle id. Patch by
o o
 O tvos Attila


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21576 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-10 17:25:54 +00:00
nicodvb 266f5de2bb export spu palette; part of a patch by Otvos Attila
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21554 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 19:23:35 +00:00
nicodvb 7e876cb095 doxygenized dvdnav_sid_from_lang() and dvdnav_number_of_subs()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21440 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-02 14:50:12 +00:00
nicodvb 94ec6dbf31 cosmetical reformatting
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21349 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-27 23:25:08 +00:00
nicodvb dfdc991901 feed the content of NAV_PACKET to the demuxer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21348 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-27 23:21:23 +00:00
ben 1e30c2e5ae keep nav highlight event in dvdnav priv structure
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21235 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 17:44:22 +00:00
nicodvb a813415ee7 support for comma-separated language codes in -slang
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21220 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 15:00:08 +00:00
ben 42eecb4f1b better nav highlight handling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21216 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 13:03:51 +00:00
nicodvb f313243ca1 removed unused members and variables
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21215 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 12:37:47 +00:00
nicodvb cc794c93bb COSMETICS: consistently reformatted after ben's mess
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21214 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 12:19:15 +00:00
nicodvb 394129086b added code to identify subs language and count; needed for forthcoming support for -slang
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21213 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 12:17:34 +00:00
ben c913e7dba1 support for dvdnav menu buttons overlay as simple alpha boxes (rework from Otvos Attila's series of patches)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21209 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 11:20:02 +00:00
nicodvb 6e28f63e36 consistency fix: STREAM_CTRL_GET_TIME_LENGTH and STREAM_CTRL_GET_CURRENT_TIME now return time in (double) seconds
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20867 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-12 17:19:56 +00:00
nicodvb d7e32a0e84 one more deuglification
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20826 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-09 22:41:45 +00:00
nicodvb 0df02c3583 COSMETICS: renamed dvdnav_priv to priv
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20825 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-09 22:24:57 +00:00
nicodvb 9451809971 changed ugly sizeof(*type_ptr) width sizeof(type)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20804 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-08 23:18:56 +00:00
nicodvb eb9f86976f COSMETICS: reformatted this ugly mess in a consistent manner
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20802 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-08 23:05:33 +00:00
nicodvb 5cc6005c86 support for -dvdangle
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20770 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-08 00:11:42 +00:00
nicodvb de0e99ce19 support for -chapter option (same semanthics as for dvd://)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20425 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-23 22:18:08 +00:00
nicodvb 8c1284a537 simplified code to handle titleset transition (removed useless assignment)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20423 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-23 21:17:32 +00:00
nicodvb 38857d2927 spell fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20422 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-23 21:07:24 +00:00
nicodvb 2609080340 don't play any other title other than N when N is specified (with dvdnav://N)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20421 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-23 21:04:31 +00:00
nicodvb c04dc45de0 warn the user to disable the cache when playing dvdnav streams
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20032 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-04 09:32:38 +00:00
nicodvb b6a700727e made file-static new_dvdnav_stream() and dvdnav_stream_read()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19920 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-20 21:09:32 +00:00
nicodvb b578d8ccbf introduced new MP_CMD_DVDNAV_MOUSECLICK command (bound to mouse0);
it's used to activate the button corresponding to the last mouse position.
This is a workaround against possibly buggy implementation of 
upper_lower/upper_button_select() and friends; will be removed when
possible


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19918 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-19 23:50:21 +00:00
nicodvb eadc766b62 removed dead code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19915 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-19 22:01:27 +00:00
jonas 776787600d Іnitial button value is -1. Only (button>0) is a correct button selection.
Initialized "dvdnav_status_t status" explicitly for clarity.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19914 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-19 21:42:43 +00:00
nicodvb 9490ae823a permit seeking to 0: there's no reason to prevent it
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19901 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-18 22:02:43 +00:00
nicodvb 126e5baa1e in the previous commit I forgot to set s->end_pos=0
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19900 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-18 21:26:26 +00:00
nicodvb a26e041c79 at titleset change call update_title_len() to reset stream->end_pos
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19899 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-18 21:22:37 +00:00
nicodvb aa278680ac don't seek until dvdnav_get_position() returns something meaningful
(len > 0), or dvdnav may crash or complain.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19898 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-18 21:12:22 +00:00
nicodvb 78992c7fdc report mouse coordinates after movement to dvdnav; this permits to enable button selection using the mouse; patch by Jonas Jermann and me
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19857 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-16 15:25:31 +00:00
nicodvb 8d8bca056c at start, when not playing a specific titleset, try to call the Title menu (as is common practice among players)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19848 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-15 22:43:48 +00:00
nicodvb 41014a19fb in mp_dvdnav_handle_input() update current button only if the status of the previous operation succeeded; patch by Jonas Jermann
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19846 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-15 17:50:10 +00:00
nicodvb 1749b99907 dvdnav_stream_reset() should be called on dvdnav_priv->dvdnav not on dvdnav_priv; patch by Jonas Jermann
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19845 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-15 17:46:36 +00:00
nicodvb e9f8d95a4c removed code that propagated the slave command dvdnav_event that hasn't been handled for years; patch by Jonas Jermann
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19844 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-15 17:42:13 +00:00
nicodvb d98901ad15 when cmd == MP_CMD_DVDNAV_SELECT set reset=1 only if dvdnav_button_activate() succeeds, to avoid unneeded resets in main()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19842 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-15 17:18:47 +00:00
nicodvb 3606773eff at start, reset dvdnav at the beginning of the stream after the first read (that is done to workaround a bug in dvdnav from cvs)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19787 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-10 10:53:58 +00:00
nicodvb 311e24b548 try to start from the root menu skipping all intros when playing dvdnav://-1; it's not guaranteed to work
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19786 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-10 10:48:36 +00:00
nicodvb caa3c79989 permit to select previous dvdnav menu, in the order chapter->title->root
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19783 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-10 10:25:48 +00:00
nicodvb aab523e18b in mp_dvdnav_handle_input() assign the currently selected button, shown in the OSD by main()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19780 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-09 22:40:22 +00:00
nicodvb f817575e5f added mp_dvdnav_handle_input to handle user's input (revived from the repository with few changes)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19774 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-09 21:37:57 +00:00
nicodvb aa8de16f0f if no track number specified play the whole disc, or the menus can't be shown at start
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19770 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-09 20:51:29 +00:00
nicodvb 30c1486c65 implemented STREAM_CTRL_GET_NUM_CHAPTERS
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19483 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-21 19:16:39 +00:00
nicodvb 0f8a1df63a corrected _very_ misleading comment
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19460 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-19 20:06:10 +00:00
nicodvb 84c982c65f implemented STREAM_CTRL_GET_TIME_LENGTH (duration of the pgc playing)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19459 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-19 19:41:04 +00:00
nicodvb 2dfbc4cea7 removed #if-0 code that dereferenced dvdnav_t's internal members, violating the opaque interface (current dvdnav doesn't even install dvdnav_internal.h system-wide for very good reasons)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19458 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-19 19:15:23 +00:00
nicodvb 03d052a129 10l: misplaced brace in a switch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19457 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-19 19:11:51 +00:00
nicodvb 26ea4d52e4 implemented seeking to chapter
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19449 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-19 11:49:04 +00:00
ben 2410b87a64 proper inclusion of demuxer.h (including libmpdemux in Makefile only was to make previous split easier)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19318 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-04 17:01:29 +00:00
ben 6937525850 renamed dvdnav_stream to stream_dvdnav for consistency
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19308 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-03 20:44:14 +00:00