Commit Graph

101 Commits

Author SHA1 Message Date
nicodvb b16d3fd6c2 in dvd streams the title part ranges from 1 to 99
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27267 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-12 08:07:54 +00:00
ben 883dfcb409 Factorizes dvdnav aid retrieval code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27022 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-07 13:13:15 +00:00
ben 9b52abcb8b Add routine that provides audio ID corresponding to logical number
in dvdnav stream.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27021 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-07 13:06:27 +00:00
ben c71d348a7d Rename some functions as they are mplayer related and not
from libdvdnav public API.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27018 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-07 12:57:23 +00:00
ben 51880f9029 rename for consistency
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27017 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-07 12:42:40 +00:00
ben c655b2d499 Add routine to determine if SPU has changed in dvdnav stream.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27016 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-07 12:42:00 +00:00
ben a5d9a2b2b0 Add routine to determine if audio has changed in dvdnav stream.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27015 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-07 12:37:32 +00:00
ben d0bfe9916c Save DVDNAV palette info.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27005 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-07 10:30:49 +00:00
nicodvb f785eba8a1 -chapter is now handled uniformly calling demuxer_seek_chapter() instead
of letting individual demuxers and stream readers do their nasty job


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25987 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-11 22:03:34 +00:00
ben dce8f5aa20 factorize 2 tests
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25860 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-26 16:19:42 +00:00
ben 6230aab9bf add a new state flag to dvdnav in order to notify if
something has changed in the current stream (being title, chapter,
audio layer or SPU one)



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25858 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-26 16:17:44 +00:00
ben 923c1f08ca remove useless casts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25857 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-26 13:10:47 +00:00
ben 8a9021fc6d simplify by a one-liner
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25856 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-26 13:07:47 +00:00
ben ef8e584e39 remove the spu_set field, replaced by a flag
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25855 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-26 13:06:42 +00:00
ben 6ff2dd3561 this end brace was not correctly indented
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25854 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-26 12:54:44 +00:00
ben 8976b21cf1 automatically set spu button highlight when nav cell has changed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25853 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-26 12:54:14 +00:00
ben d56fe785be Add support for dvdnav still frames playback.
Based on various patches from Otvos Attila
and MPlayer'ized by me.

N.B. Always use -vc ffmpeg12 with dvdnav://



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25852 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-26 11:51:34 +00:00
ben 43a7bc94c7 array was defined for 6 elements while 7 were declared
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25848 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-24 19:20:19 +00:00
ben 6274e7dee8 type expected by dvdnav_get_title_string() is const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25847 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-24 19:18:15 +00:00
ben 19ee16f29f remove some redundant declarations
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25846 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-24 19:15:28 +00:00
ben e28bd7c6de Add new command to switch between dvdnav titles
Based on parts of dvdnav monster patches from Otvos Attila



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25845 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-24 19:14:05 +00:00
reimar 6f616c316d stream_opts should be const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25719 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-13 12:34:42 +00:00
nicodvb 4af051b6c3 implemented _ANGLE STREAM_CTRLs, patch by oattila chello hu
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25602 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-05 14:22:48 +00:00
nicodvb 7ded17d4c2 include dvdnav.h from its installation directory rather than appending
-Idvdnav to the compilation of the whole mplayer (dvdnav-config was just
cleaned)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25567 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-01 17:34:57 +00:00
nicodvb d37917abf5 private structures belong to the C file using them, not to header files included somewhere else
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25564 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-01 17:01:03 +00:00
nicodvb 358717114f removed stupid checks
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25324 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-08 18:16:02 +00:00
reimar dd2fcb4370 stream_opts arrays should be const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25270 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 21:37:08 +00:00
reimar cd3d3369e1 Mark all stream_info_t as const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25239 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 13:22:53 +00:00
nicodvb a7e85be81e at startup show audio and subtitle streams available in the chosen title with all their properties
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25224 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-01 11:35:03 +00:00
nicodvb 038f77e272 -identify also shows the duration(s) of the title(s)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25205 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-29 23:25:14 +00:00
nicodvb 36bcaa934d cosmetics: moved identification code to a separate function
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25204 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-29 23:01:46 +00:00
nicodvb 7252c0e78e when no title is chosen -identify all titles present in the dvd
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25196 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-29 00:16:08 +00:00
nicodvb 2e4f57d04d with -identify show the title being described
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25195 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-29 00:13:11 +00:00
nicodvb 8171a77ed9 -identify chapters of chosen title
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25193 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-28 23:50:05 +00:00
nicodvb adb4813ca8 report why the dvd couldn't be opened. Patch by Jan Knutar jknutar+nic+fi
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25059 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-16 21:32:09 +00:00
nicodvb 2d6d93d83d removed forgotten and out of date comment
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25053 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-14 22:26:14 +00:00
nicodvb 5420abe07f removed unneeded checks on MP_DVDNAV and DVDNAV_FORMAT_AC3 (we need and assume our fork)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25052 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-14 22:25:10 +00:00
nicodvb 25f19895b5 Removed dead code related to stills.
patch by Attila Ötvös (oattila chellu hu)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24512 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-15 09:13:24 +00:00
nicodvb 0f4b9929eb a mouse selection may require at least a video codec reinit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24324 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-01 21:35:07 +00:00
nicodvb 4da74f1f7b implemented STREAM_CTRL_GET_ASPECT_RATIO
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24323 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-01 21:00:18 +00:00
diego 01d92a32ad cosmetics: typo fix UNSUPORTED --> UNSUPPORTED
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24277 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 22:38:45 +00:00
cehoyos 4f33b7daed Removed uninitialized variable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24129 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-23 23:14:00 +00:00
nicodvb 58d131b1c6 cosmetics: removed commented code and small reindentation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24011 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-04 21:25:28 +00:00
nicodvb 3870447956 removed unused variables
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24010 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-04 21:16:22 +00:00
reimar ecd76ccd5c More doxygen comments
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23922 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 17:57:12 +00:00
nicodvb c7a0712f30 after a DVDNAV_VTS_CHANGE event report the title being played
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23061 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-22 10:27:44 +00:00
nicodvb 2c4331cbcc implemented STREAM_CTRL_GET_CURRENT_TIME and STREAM_CTRL_SEEK_TO_TIME - dvdnav from mphq required
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22954 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-09 16:05:58 +00:00
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