[MPlayer-dev-eng] [patch] improved searching for subtitles

Jindrich Makovicka makovick at kmlinux.fjfi.cvut.cz
Mon Feb 3 09:52:43 CET 2003


Hi,

this patch replaces subreader.c:sub_filename with another version, which 
reads the movie and subtitle directories via opendir & readdir instead 
of blindly trying to open various files. The filenames are trimmed so 
it's capable of finding filenames which differ in character case or 
whitespace characters. It also adds a -subid option which specifies the 
string required after the movie name (eg. like Face.Off_CZ.srt) to 
prefer a specific subtitle language by default.

Is it post-0.90 or ok to commit now?

Regards,

-- 
Jindrich Makovicka

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: subdetect.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030203/ebb11df4/attachment.asc>


More information about the MPlayer-dev-eng mailing list