summaryrefslogtreecommitdiffstats
path: root/stream/stream_dvd.c
Commit message (Collapse)AuthorAgeFilesLines
* in dvd streams the title part ranges from 1 to 99nicodvb2008-07-121-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27267 b3059339-0415-0410-9bf9-f77b7e298cf2
* avoid unnecessary strdup(); patch by Aurelnicodvb2008-07-061-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27226 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: in ifo_stream_oped() aligned the prototype to the stylenicodvb2008-07-041-9/+8
| | | | | | | | | of the rest of the file and renamed dvd_priv to spriv (it's a stream_priv_s*, while dvd_priv is used for other purposes in the rest of the file) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27198 b3059339-0415-0410-9bf9-f77b7e298cf2
* in ifo_stream_open() propagate the device based on the dirname of ↵nicodvb2008-07-041-0/+1
| | | | | | stream->url; patch by Mathieu SCHROETER mathieu.schroeter gamesover ch git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27197 b3059339-0415-0410-9bf9-f77b7e298cf2
* dvd_device must be handled exclusively by the option parser; it can't be ↵nicodvb2008-07-041-2/+0
| | | | | | changed at will in ifo_stream_open() git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27196 b3059339-0415-0410-9bf9-f77b7e298cf2
* added support for the device part in the url; patch bynicodvb2008-07-041-8/+17
| | | | | | | Mathieu SCHROETER mathieu.schroeter gamesover ch git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27195 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add basic support for stream controls with cache enabled.reimar2008-05-241-7/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26865 b3059339-0415-0410-9bf9-f77b7e298cf2
* -chapter is now handled uniformly calling demuxer_seek_chapter() insteadnicodvb2008-02-111-23/+2
| | | | | | | 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
* stream_opts should be constreimar2008-01-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25719 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make dvd_audio_stream_types and dvd_audio_stream_channels constreimar2008-01-131-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25713 b3059339-0415-0410-9bf9-f77b7e298cf2
* implemented _ANGLE STREAM_CTRLs, patch by oattila chello hu nicodvb2008-01-051-0/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25601 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed bug when playing multi-angle titles: the address field in the agli datanicodvb2008-01-051-1/+2
| | | | | | | | of the current angle must be != 0x7fffffff to be skippable; patch by oattila chello hu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25597 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace SYS_DARWIN by __APPLE__ and __DARWIN__ where appropriate.diego2007-12-111-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25370 b3059339-0415-0410-9bf9-f77b7e298cf2
* stream_opts arrays should be constreimar2007-12-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25270 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add appropriate const specifiers to some custom parse functions.reimar2007-12-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25260 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark all stream_info_t as constreimar2007-12-021-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25239 b3059339-0415-0410-9bf9-f77b7e298cf2
* When IFO file is opened (detected by extension), set dvd-device to IFO file'svoroshil2007-12-021-0/+43
| | | | | | | | | | | | | | | | | | directory and start dvd:// stream instead of file://. If VTS_<N>_*.IFO is opened, open stream as dvd://<N> As Nico Sabbi said: There is no no guarantie that title N is in titleset N, but there are at least good chances. The main purpose of this patch is ability to load DVDs, stored on HDD, using OSD menu. Modified patch from Benjamin Zores ben at geexbox dot org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25238 b3059339-0415-0410-9bf9-f77b7e298cf2
* this variable was nothing but a useless memleakben2007-11-301-3/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25215 b3059339-0415-0410-9bf9-f77b7e298cf2
* pgc->subp_control and pgc->audio_control are no more bitfields,nicodvb2007-11-231-20/+0
| | | | | | | | | but plain uint32_t and uint16_t respectively; replaced access to bitfield members with bitmask operations (and removed some ugly macro) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25151 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cleanup sg_io_hdr initialization a bitreimar2007-11-171-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25078 b3059339-0415-0410-9bf9-f77b7e298cf2
* We do not have any use for the sense data, so we don't need a buffer for it.reimar2007-11-171-4/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25077 b3059339-0415-0410-9bf9-f77b7e298cf2
* Some more cosmeticsreimar2007-11-171-5/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25075 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move the zeroing directly before the other initialization codereimar2007-11-171-3/+3
| | | | | | | for the array/struct git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25074 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move everything that sets buffer values together.reimar2007-11-171-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25073 b3059339-0415-0410-9bf9-f77b7e298cf2
* Another place that can use AV_WB32reimar2007-11-171-4/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25072 b3059339-0415-0410-9bf9-f77b7e298cf2
* Some cosmetics in dvd_set_speedreimar2007-11-171-4/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25071 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move the DVD speed factor -> KB/s conversion into the casereimar2007-11-171-4/+3
| | | | | | | branch where it is actually used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25070 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a missing close() to dvd_set_speed functionreimar2007-11-171-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25069 b3059339-0415-0410-9bf9-f77b7e298cf2
* Open device file only right before we need it, so we do notreimar2007-11-171-5/+5
| | | | | | | have to add close to all the abort code-paths git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25068 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not print Ok message when setting speed limit failedreimar2007-11-171-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25067 b3059339-0415-0410-9bf9-f77b7e298cf2
* AV_WB16(..., 1000) more obviously represents one second that assigningreimar2007-11-171-2/+3
| | | | | | | 0x03 and 0xe8 (0x3e8 = 1000). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25066 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use AV_WB32 instead of manual bit-fiddling when setting DVD speedreimar2007-11-171-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25065 b3059339-0415-0410-9bf9-f77b7e298cf2
* GPCMD_SET_STREAMING command is 12 bytes large, not 16reimar2007-11-171-1/+1
| | | | | | | Patch by Sebastian Kemper (sebastian_ml gmx net) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25064 b3059339-0415-0410-9bf9-f77b7e298cf2
* report why the dvd couldn't be opened. Patch by Jan Knutar jknutar+nic+finicodvb2007-11-161-3/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25059 b3059339-0415-0410-9bf9-f77b7e298cf2
* at the end of open() warn users that seeking won't work correctly if the ↵nicodvb2007-11-101-0/+2
| | | | | | cache is enabled git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25014 b3059339-0415-0410-9bf9-f77b7e298cf2
* implemented STREAM_CTRL_GET_ASPECT_RATIOnicodvb2007-09-011-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24318 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: typo fix UNSUPORTED --> UNSUPPORTEDdiego2007-08-281-14/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24277 b3059339-0415-0410-9bf9-f77b7e298cf2
* in stream_control() remove redefinition of d in a case block, previously ↵nicodvb2007-08-271-1/+0
| | | | | | assigned in the same function git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24249 b3059339-0415-0410-9bf9-f77b7e298cf2
* in open_s() unified failure code in fail:nicodvb2007-08-271-20/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24248 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant variable declarations.diego2007-08-251-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24165 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set DVD speed earlier to avoid drive spinup during openreimar2007-08-211-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24114 b3059339-0415-0410-9bf9-f77b7e298cf2
* Moved dvdtimetomsec to stream_dvd_common.c.cehoyos2007-08-041-22/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24013 b3059339-0415-0410-9bf9-f77b7e298cf2
* The file is compiled conditional to USE_DVDREAD so the #ifdef USE_DVDREADdiego2007-07-031-13/+0
| | | | | | | in the file are senseless. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23711 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix dvd:// subtitle handling to always report the MPEG stream id, becausereimar2007-06-241-7/+13
| | | | | | | this is the only thing the remaining parts of MPlayer care about. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23621 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove some unused variables, patch by timwoj ieee org.diego2007-05-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23399 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed off-by-one bug during chapter-listing; fixed by Jared Breland ↵nicodvb2007-05-261-2/+2
| | | | | | (list-mplayer@legroom.net) and me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23386 b3059339-0415-0410-9bf9-f77b7e298cf2
* print the disc_id without using a buffernicodvb2007-03-041-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22430 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10000l; in previous commit I allocated a buffer 1 byte too shortnicodvb2007-03-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22422 b3059339-0415-0410-9bf9-f77b7e298cf2
* replaced 1 instances of sprintf() with snprintf(); patch by njkain gmail com.nicodvb2007-03-031-2/+3
| | | | | | | | This patch is intended to render code easier to audit against buffer oveflows git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22421 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify code by using separate variables for large common expressions.reimar2007-02-151-22/+26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22222 b3059339-0415-0410-9bf9-f77b7e298cf2
* at open() assign *file_format=DEMUXER_TYPE_MPEG_PS to avoid useless demuxer ↵nicodvb2007-01-161-0/+2
| | | | | | probing git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21944 b3059339-0415-0410-9bf9-f77b7e298cf2
* replace call to UDFFindFile() (that is not part of the public API) with ↵nicodvb2006-12-231-6/+6
| | | | | | | | | | DVDOpenFile() patch by Klaus Muller (mk.2001 web de) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21747 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for limiting dvd speed; patch by Tobias Diedrich (ranma tdiedrich se)nicodvb2006-12-171-0/+87
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21652 b3059339-0415-0410-9bf9-f77b7e298cf2
* ID_SUBTITLE_ID should show the -sid number, not the vobsub id also for dvd subs.reimar2006-12-101-1/+1
| | | | | | | Patch by Lehel Bernadt [lehel pmc-services hu] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21570 b3059339-0415-0410-9bf9-f77b7e298cf2
* consistency fix: STREAM_CTRL_GET_TIME_LENGTH and ↵nicodvb2006-11-121-3/+2
| | | | | | 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
* make fail STREAM_CTRLs related to seeking/fetching time/chapter when the ↵nicodvb2006-11-111-2/+9
| | | | | | cache is enabled: they can't work atm git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20856 b3059339-0415-0410-9bf9-f77b7e298cf2
* idenfify now shows the timings of chapters of the chosen pgcnicodvb2006-11-101-0/+26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20828 b3059339-0415-0410-9bf9-f77b7e298cf2
* implemented STREAM_CTRL_GET_CURRENT_TIME and STREAM_CTRL_SEEK_TO_TIME ↵nicodvb2006-11-071-0/+109
| | | | | | (precise seeking) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20762 b3059339-0415-0410-9bf9-f77b7e298cf2
* Streamline and simplify internal vs external libdvdread handling.diego2006-11-031-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20651 b3059339-0415-0410-9bf9-f77b7e298cf2
* gcc 2.95 fixods152006-10-111-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20164 b3059339-0415-0410-9bf9-f77b7e298cf2
* added OSD audio switching visualizationptt2006-10-111-0/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20162 b3059339-0415-0410-9bf9-f77b7e298cf2
* Print current DVD title as ID_DVD_CURRENT_TITLE.corey2006-10-061-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20092 b3059339-0415-0410-9bf9-f77b7e298cf2
* implemented STREAM_CTRL_GET_NUM_CHAPTERSnicodvb2006-08-211-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19482 b3059339-0415-0410-9bf9-f77b7e298cf2
* Print DVD audio channel and subtitle track information in non-verbose mode,diego2006-08-191-9/+9
| | | | | | | some more consistency for MSGL. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19454 b3059339-0415-0410-9bf9-f77b7e298cf2
* sanity check: since chapter is 0-based it can't exceed nr_of_ptts-1nicodvb2006-08-191-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19448 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for seeking to chapter and getting current playing chapternicodvb2006-08-181-1/+38
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19446 b3059339-0415-0410-9bf9-f77b7e298cf2
* introduce new 'stream' directory for all stream layer related components and ↵ben2006-07-311-0/+851
split them from libmpdemux git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19277 b3059339-0415-0410-9bf9-f77b7e298cf2