[MPlayer-dev-eng] [PATCH] add optional device with dvd://

Mathieu SCHROETER mathieu.schroeter at gamesover.ch
Thu Jul 3 12:15:37 CEST 2008


Hello,

this patch will add an optional argument for stream_dvd to handle
a dvd_device with the MRL..  like cdda, vcd, etc, ...
Very useful when MPlayer is used with "-slave -idle" modes..

dvd://[title|[start_title]-end_title][/device]

An optional device can be already used with dvdnav://, but that is
not specified in the manpage. This patch will fix the manpage too..


I'm not sure if that is the best way for a thing.. when dvd_close()
is called, there is no way in order to read the optional argument.
Then I've added a global variable with the current device used.
And if the argument is NULL, dvd_device is used as before..


Regards,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stream_dvd-optional_device.patch
Type: text/x-patch
Size: 3697 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080703/eaeff60f/attachment.bin>


More information about the MPlayer-dev-eng mailing list