[MPlayer-dev-eng] [PATCH] stream layer support for .ifo files

Benjamin Zores ben at geexbox.org
Sat Dec 1 23:30:01 CET 2007


Nico Sabbi a écrit :
> Il Saturday 01 December 2007 09:43:28 Vladimir Voroshilov ha scritto:
> 
>>> BTW, this is totally unacceptable. I didn't spend my
>>> time adapting all stream readers to the new api to see
>>> my effort vanified with the reintroduction of special
>>> cases handling.
>> Is attached version better?
>>
>>> BTW2, using the "file"  prefix doesn't permit to identify
>>> the stream type unequivocally; better use ifo:// instead
>> Using "file" and "" allows user to specify "mplayer
>> /patch/to/file.ifo" and enjoy watching dvd.
>> Stream type will be STREAMTYPE_DVD.
>> Will proper console message be enough?
> 
> 
> yes, but the open of the dvd:// title may fail if the title described
> in the ifo != 1

The ifo file itself isn't even read !
It can be null size or whatever.
Same would have work for bup files i guess.
The only reason of "ifo" usage is because this type of file is generally 
in the same directory (VIDEO_TS) than the VOB ones.

Ben





More information about the MPlayer-dev-eng mailing list