summaryrefslogtreecommitdiffstats
path: root/stream/stream_dvdnav.c
Commit message (Collapse)AuthorAgeFilesLines
* Mark all stream_info_t as constreimar2007-12-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25239 b3059339-0415-0410-9bf9-f77b7e298cf2
* at startup show audio and subtitle streams available in the chosen title ↵nicodvb2007-12-011-0/+52
| | | | | | with all their properties git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25224 b3059339-0415-0410-9bf9-f77b7e298cf2
* -identify also shows the duration(s) of the title(s)nicodvb2007-11-291-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25205 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: moved identification code to a separate functionnicodvb2007-11-291-8/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25204 b3059339-0415-0410-9bf9-f77b7e298cf2
* when no title is chosen -identify all titles present in the dvdnicodvb2007-11-291-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25196 b3059339-0415-0410-9bf9-f77b7e298cf2
* with -identify show the title being describednicodvb2007-11-291-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25195 b3059339-0415-0410-9bf9-f77b7e298cf2
* -identify chapters of chosen titlenicodvb2007-11-281-0/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25193 b3059339-0415-0410-9bf9-f77b7e298cf2
* report why the dvd couldn't be opened. Patch by Jan Knutar jknutar+nic+finicodvb2007-11-161-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25059 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed forgotten and out of date commentnicodvb2007-11-141-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25053 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed unneeded checks on MP_DVDNAV and DVDNAV_FORMAT_AC3 (we need and ↵nicodvb2007-11-141-4/+0
| | | | | | assume our fork) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25052 b3059339-0415-0410-9bf9-f77b7e298cf2
* Removed dead code related to stills.nicodvb2007-09-151-8/+0
| | | | | | | patch by Attila Ötvös (oattila chellu hu) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24512 b3059339-0415-0410-9bf9-f77b7e298cf2
* a mouse selection may require at least a video codec reinitnicodvb2007-09-011-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24324 b3059339-0415-0410-9bf9-f77b7e298cf2
* implemented STREAM_CTRL_GET_ASPECT_RATIOnicodvb2007-09-011-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24323 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: typo fix UNSUPORTED --> UNSUPPORTEDdiego2007-08-281-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24277 b3059339-0415-0410-9bf9-f77b7e298cf2
* Removed uninitialized variable.cehoyos2007-08-231-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24129 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: removed commented code and small reindentationnicodvb2007-08-041-4/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24011 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed unused variablesnicodvb2007-08-041-6/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24010 b3059339-0415-0410-9bf9-f77b7e298cf2
* More doxygen commentsreimar2007-07-291-0/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23922 b3059339-0415-0410-9bf9-f77b7e298cf2
* after a DVDNAV_VTS_CHANGE event report the title being playednicodvb2007-04-221-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23061 b3059339-0415-0410-9bf9-f77b7e298cf2
* implemented STREAM_CTRL_GET_CURRENT_TIME and STREAM_CTRL_SEEK_TO_TIME - ↵nicodvb2007-04-091-0/+20
| | | | | | dvdnav from mphq required git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22954 b3059339-0415-0410-9bf9-f77b7e298cf2
* simplified aid management in dvdnav_lang_from_aid(); patch by Joakim Pattenicodvb2006-12-151-7/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21629 b3059339-0415-0410-9bf9-f77b7e298cf2
* implemented dvdnav_lang_from_aid() to retrieve audio languagenicodvb2006-12-141-0/+30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21619 b3059339-0415-0410-9bf9-f77b7e298cf2
* added dvdnav_aid_from_lang() to support -alangnicodvb2006-12-141-0/+44
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21616 b3059339-0415-0410-9bf9-f77b7e298cf2
* added function to return the language of the specified subtitle id. Patch bynicodvb2006-12-101-0/+21
| | | | | | | | o o O tvos Attila git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21576 b3059339-0415-0410-9bf9-f77b7e298cf2
* export spu palette; part of a patch by Otvos Attilanicodvb2006-12-091-0/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21554 b3059339-0415-0410-9bf9-f77b7e298cf2
* doxygenized dvdnav_sid_from_lang() and dvdnav_number_of_subs()nicodvb2006-12-021-0/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21440 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetical reformattingnicodvb2006-11-271-13/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21349 b3059339-0415-0410-9bf9-f77b7e298cf2
* feed the content of NAV_PACKET to the demuxernicodvb2006-11-271-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21348 b3059339-0415-0410-9bf9-f77b7e298cf2
* keep nav highlight event in dvdnav priv structureben2006-11-251-11/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21235 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for comma-separated language codes in -slangnicodvb2006-11-251-1/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21220 b3059339-0415-0410-9bf9-f77b7e298cf2
* better nav highlight handlingben2006-11-251-4/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21216 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed unused members and variablesnicodvb2006-11-251-8/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21215 b3059339-0415-0410-9bf9-f77b7e298cf2
* COSMETICS: consistently reformatted after ben's messnicodvb2006-11-251-6/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21214 b3059339-0415-0410-9bf9-f77b7e298cf2
* added code to identify subs language and count; needed for forthcoming ↵nicodvb2006-11-251-0/+28
| | | | | | support for -slang git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21213 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for dvdnav menu buttons overlay as simple alpha boxes (rework from ↵ben2006-11-251-0/+48
| | | | | | Otvos Attila's series of patches) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21209 b3059339-0415-0410-9bf9-f77b7e298cf2
* consistency fix: STREAM_CTRL_GET_TIME_LENGTH and ↵nicodvb2006-11-121-1/+1
| | | | | | 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
* one more deuglificationnicodvb2006-11-091-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20826 b3059339-0415-0410-9bf9-f77b7e298cf2
* COSMETICS: renamed dvdnav_priv to privnicodvb2006-11-091-56/+56
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20825 b3059339-0415-0410-9bf9-f77b7e298cf2
* changed ugly sizeof(*type_ptr) width sizeof(type)nicodvb2006-11-081-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20804 b3059339-0415-0410-9bf9-f77b7e298cf2
* COSMETICS: reformatted this ugly mess in a consistent mannernicodvb2006-11-081-70/+71
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20802 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for -dvdanglenicodvb2006-11-081-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20770 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for -chapter option (same semanthics as for dvd://)nicodvb2006-10-231-0/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20425 b3059339-0415-0410-9bf9-f77b7e298cf2
* simplified code to handle titleset transition (removed useless assignment)nicodvb2006-10-231-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20423 b3059339-0415-0410-9bf9-f77b7e298cf2
* spell fixnicodvb2006-10-231-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20422 b3059339-0415-0410-9bf9-f77b7e298cf2
* don't play any other title other than N when N is specified (with dvdnav://N)nicodvb2006-10-231-0/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20421 b3059339-0415-0410-9bf9-f77b7e298cf2
* warn the user to disable the cache when playing dvdnav streamsnicodvb2006-10-041-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20032 b3059339-0415-0410-9bf9-f77b7e298cf2
* made file-static new_dvdnav_stream() and dvdnav_stream_read()nicodvb2006-09-201-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19920 b3059339-0415-0410-9bf9-f77b7e298cf2
* introduced new MP_CMD_DVDNAV_MOUSECLICK command (bound to mouse0);nicodvb2006-09-191-0/+12
| | | | | | | | | | 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
* removed dead codenicodvb2006-09-191-117/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19915 b3059339-0415-0410-9bf9-f77b7e298cf2
* Іnitial button value is -1. Only (button>0) is a correct button selection.jonas2006-09-191-1/+1
| | | | | | | | Initialized "dvdnav_status_t status" explicitly for clarity. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19914 b3059339-0415-0410-9bf9-f77b7e298cf2
* permit seeking to 0: there's no reason to prevent itnicodvb2006-09-181-6/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19901 b3059339-0415-0410-9bf9-f77b7e298cf2
* in the previous commit I forgot to set s->end_pos=0nicodvb2006-09-181-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19900 b3059339-0415-0410-9bf9-f77b7e298cf2
* at titleset change call update_title_len() to reset stream->end_posnicodvb2006-09-181-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19899 b3059339-0415-0410-9bf9-f77b7e298cf2
* don't seek until dvdnav_get_position() returns something meaningfulnicodvb2006-09-181-1/+8
| | | | | | | (len > 0), or dvdnav may crash or complain. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19898 b3059339-0415-0410-9bf9-f77b7e298cf2
* report mouse coordinates after movement to dvdnav; this permits to enable ↵nicodvb2006-09-161-0/+14
| | | | | | 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
* at start, when not playing a specific titleset, try to call the Title menu ↵nicodvb2006-09-151-1/+3
| | | | | | (as is common practice among players) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19848 b3059339-0415-0410-9bf9-f77b7e298cf2
* in mp_dvdnav_handle_input() update current button only if the status of the ↵nicodvb2006-09-151-1/+2
| | | | | | previous operation succeeded; patch by Jonas Jermann git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19846 b3059339-0415-0410-9bf9-f77b7e298cf2
* dvdnav_stream_reset() should be called on dvdnav_priv->dvdnav not on ↵nicodvb2006-09-151-1/+1
| | | | | | dvdnav_priv; patch by Jonas Jermann git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19845 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed code that propagated the slave command dvdnav_event that hasn't been ↵nicodvb2006-09-151-12/+0
| | | | | | handled for years; patch by Jonas Jermann git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19844 b3059339-0415-0410-9bf9-f77b7e298cf2
* when cmd == MP_CMD_DVDNAV_SELECT set reset=1 only if ↵nicodvb2006-09-151-1/+1
| | | | | | 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
* at start, reset dvdnav at the beginning of the stream after the first read ↵nicodvb2006-09-101-0/+1
| | | | | | (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
* try to start from the root menu skipping all intros when playing ↵nicodvb2006-09-101-1/+3
| | | | | | dvdnav://-1; it's not guaranteed to work git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19786 b3059339-0415-0410-9bf9-f77b7e298cf2
* permit to select previous dvdnav menu, in the order chapter->title->rootnicodvb2006-09-101-0/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19783 b3059339-0415-0410-9bf9-f77b7e298cf2
* in mp_dvdnav_handle_input() assign the currently selected button, shown in ↵nicodvb2006-09-091-1/+3
| | | | | | the OSD by main() git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19780 b3059339-0415-0410-9bf9-f77b7e298cf2
* added mp_dvdnav_handle_input to handle user's input (revived from the ↵nicodvb2006-09-091-0/+40
| | | | | | repository with few changes) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19774 b3059339-0415-0410-9bf9-f77b7e298cf2
* if no track number specified play the whole disc, or the menus can't be ↵nicodvb2006-09-091-1/+4
| | | | | | shown at start git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19770 b3059339-0415-0410-9bf9-f77b7e298cf2
* implemented STREAM_CTRL_GET_NUM_CHAPTERSnicodvb2006-08-211-0/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19483 b3059339-0415-0410-9bf9-f77b7e298cf2
* corrected _very_ misleading commentnicodvb2006-08-191-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19460 b3059339-0415-0410-9bf9-f77b7e298cf2
* implemented STREAM_CTRL_GET_TIME_LENGTH (duration of the pgc playing)nicodvb2006-08-191-0/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19459 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed #if-0 code that dereferenced dvdnav_t's internal members, violating ↵nicodvb2006-08-191-11/+0
| | | | | | 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
* 10l: misplaced brace in a switchnicodvb2006-08-191-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19457 b3059339-0415-0410-9bf9-f77b7e298cf2
* implemented seeking to chapternicodvb2006-08-191-0/+29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19449 b3059339-0415-0410-9bf9-f77b7e298cf2
* proper inclusion of demuxer.h (including libmpdemux in Makefile only was to ↵ben2006-08-041-1/+1
| | | | | | make previous split easier) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19318 b3059339-0415-0410-9bf9-f77b7e298cf2
* renamed dvdnav_stream to stream_dvdnav for consistencyben2006-08-031-0/+396
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19308 b3059339-0415-0410-9bf9-f77b7e298cf2