[vlc-devel] [PATCH]automatic subtitle detection (windows)
ssbssa at yahoo.de
Thu May 3 12:19:42 CEST 2007
the automatic detection of subtitle-files is broken on
problem: subtitles_Detect() expects a file in the
format of "file://c:\path\to\file.avi", but gets on
it still worked at 0.8.6b, i think.
i saw that the path-separator changed from
'DIRECTORY_SEPARATOR' to 'DIR_SEP_CHAR', this might be
part of the problem. or did you change the way the
paths are stored ("file://" -> "file:///")?
my solution was easy, ignore '/' at the beginning, and
get the real last separator.
i know this might not be the 'nicest' solution, but
__________________________________ Kennt man wirklich jeden über 3 Ecken? Die Antworten gibt's bei Yahoo! Clever. www.yahoo.de/clever
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the vlc-devel