[vlc-devel] [PATCH] Detecting language of subtitles using its filename

Edward Wang edward.c.wang at compdigitec.com
Sat Feb 2 17:32:49 CET 2013


On 13-02-01 03:46 PM, Walter Cacau <waltercacau at gmail.com> wrote:
> So, for example, suppose the user has a video file named "video.mp4".
> If he names a subtitle as "video.en.srt", the English language will
> be detected. Similarly, he can name other subtitles with different
> languages, ex: "video.pt.srt", "video.pt-BR.srt", ...
Where is this behaviour standardized? Who uses this behaviour? Is it 
common practice, defined in a RFC, or did you just make this up out of 
nowhere?

Regards,
         Edward Wang



More information about the vlc-devel mailing list