Commit Graph

106 Commits

Author SHA1 Message Date
diego 376951ca72 libmpdvdkit2 --> libdvdread, it just contains libdvdread now.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20631 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-03 13:48:52 +00:00
reimar 8641419c3d More code shuffling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20603 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-01 20:03:32 +00:00
reimar 9b50176ab6 cosmetics: move WIN32 read_toc code to allow for summarizing more common
code of the other variants.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20602 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-01 19:57:44 +00:00
reimar 2bd25a0093 Avoid code duplication for "last" toc entry.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20599 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-01 19:41:03 +00:00
reimar 0ac0489881 simplify/unify read_toc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20598 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-01 19:24:54 +00:00
reimar fbfa3ecb6a Factor out common code in stream_cddb read_toc function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20597 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-01 19:14:28 +00:00
reimar 78f762c11e Remove useless code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20595 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-01 19:02:01 +00:00
rtogni 6152f60163 printf -> mp_msg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20546 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-30 22:32:04 +00:00
rtogni 13636fce07 Realrtsp authentication
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20543 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-30 21:55:58 +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
ben fcee7ea18f bails out if cdparanoia can't read cd (avoid lockup)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20201 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-13 19:07:11 +00:00
diego fcd45c5111 slight overall verbosity reduction
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20191 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-12 22:24:19 +00:00
ods15 ee88e6f26f gcc 2.95 fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20164 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-11 20:53:33 +00:00
ptt 68613bbee7 added OSD audio switching visualization
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20162 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-11 17:25:46 +00:00
uau f464de2bc9 Change occurrences of "(int)*(void **)arg" to "*(int *)arg".
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20151 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-10 22:17:03 +00:00
reimar b47b78a8d2 Forgotten http_free on send error.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20106 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-08 09:32:30 +00:00
corey c3c17fc952 Print current DVD title as ID_DVD_CURRENT_TITLE.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20092 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-06 19:06:59 +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
ben a6bff74c78 removed ivtv driver dependancy in favor of native V4L2 MPEG API (requires Linux 2.6.18 and above)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19998 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-27 20:26:38 +00:00
ben ed909ff5d5 cosmetic renames because pvr support will soon be less ivtv driver dependant
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19982 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-25 20:36:45 +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 2d85e0c538 removed definitions of no more used or file-static functions
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19919 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-20 21:08:38 +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
diego 821b4a2dc7 Restore original copyright notice as found in xine and xine-mms where this
code originated.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19888 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-18 13:00:51 +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
eugeni 31732df54d Change demuxer for "application/octet-stream" http streams from
ASF to UNKNOWN (autodetect).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19847 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-15 21:34:38 +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
attila 840a77bd06 * remove extern definitions of functions in .c files
* create new .h files where necessary

todo:
* go trough other files than mplayer.c
* vf_menu_pause_update()
* mp_input_register_options()
* import_playtree_playlist_into_gui()
* import_initial_playtree_into_gui()

For more infos see http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2006-September/045683.html
( 20060902133225.2cc82aec.attila@kinali.ch on -dev-eng )


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19814 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-12 16:24:23 +00:00
voroshil e409a93e36 ability to pass channel name (not only number) to radio_set_channel
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19799 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-11 18:41:14 +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 b39852672b detect dvdnav before mpdvdkit and dvdread; if dvdnav is set mplayer will use the version of dvdread embedded in dvdnav
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19769 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-09 19:35:55 +00:00
diego 21a9221e7b Add #include <limits.h>, fixes build on Solaris 8.
patch by Robin KAY komadori [{at}] gekkou [{dot}] co [{dot}] uk


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19726 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-07 00:10:44 +00:00