[MPlayer-dev-eng] [PATCH] two vobsub issues

Reder, Uwe Uwe.Reder at 3SOFT.de
Mon Oct 27 19:49:50 CET 2003


Moritz Bunkus wrote:
> > 1) Quite often the filenames of vobsub subtitles packed in RAR
> > archives don't match the filename of the video. Since mplayer searches
> > the RAR for files with the video's base name mplayer can't find
> > them. The appended patch implements a fallback which looks for the
> > demanded extensions (e.g. .sub, .idx, .ifo).
>
> IMHO you should make the search case insensitive as a lot of thingies
> coming from Windows use mixed case or upper case extensions/file names.

The problem is not just a problem of the case. The filename is very often totally different.

The new behaviour is as follows:

1) open RAR archive with video filename + .rar extension [as before]
2) try the video filename + extension (.sub, .idx or .ifo) [as before]
3) if no match, try to find a file that has the demanded extension
   and an arbitrary base name [new]

This is how the VobSub utilitiy for Windoze seems to work. And this is probably the reason for all the cocked-up RAR's around.

Uwe.



More information about the MPlayer-dev-eng mailing list