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