[vlc-devel] Fwd: [PATCH] Using base subtitle filename instead of Track 'N'
jb at videolan.org
Sun Oct 6 20:14:43 CEST 2013
Le 29/09/2013 15:12, Stuart McMahon a écrit :
>> Sure, but is should only match FILENMAME.xx.srt or FILENAME.xxx.srt
> That sort of implementation might be out of my depth. Some points to
> think about:
> 1 - What about the case where there is no code, eg. FILENAME.srt? (use
Then it should not be filled.
> 2 - What if there are two FILENMAME.EN.srt files, one in Subs/ and one
> next to the video file? Without a relative path to the filename the
> user still won't know which subtitle file is being used.
I fail to see how this was better in the first patch.
> 3 - Surely a filename is better than the seemingly random Track 'N'?
> In my dream implementation I would like to see the language and
> description reversed, allowance for any length country (not just 2 or
> 3 chars), never Track 'N', and a relative path from the video file to
> the subtitle being used. Eg:
> English - Description of embedded English subtitles
> Default - [FILENAME.srt]
> English - [FILENAME.English.srt]
> English - [PREFIXFILENAME.English.srt]
> English with commentary - [Subs/FILENAMEEnglish with commentary.srt]
> But this would require some path manipulation functions and reworking
> of the subtitle layout which I wasn't about to attempt on my first
We already support languages display, normally...
See psz_language and psz_description
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
More information about the vlc-devel