[vlc-commits] commit: Subtitles: remove .txt for autodetection (Jean-Baptiste Kempf )
git at videolan.org
git at videolan.org
Tue Nov 16 10:23:44 CET 2010
vlc/vlc-1.1 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Nov 15 23:04:51 2010 +0100| [9f777cc695008fa6d4732a598100145192aa702d] | committer: Jean-Baptiste Kempf
Subtitles: remove .txt for autodetection
This lead to way too many false positive and complaints when VLC tried
to open a .txt file that had nothing to do with a subtitle
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit 2afaacab847a7081f841cfd1c0dc3193c9e3e5bf)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=9f777cc695008fa6d4732a598100145192aa702d
---
src/input/subtitles.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/input/subtitles.c b/src/input/subtitles.c
index 2ca105f..bd5e49c 100644
--- a/src/input/subtitles.c
+++ b/src/input/subtitles.c
@@ -61,7 +61,7 @@ static const char const sub_exts[][6] = {
"idx", "sub", "srt",
"ssa", "ass", "smi",
"utf", "utf8", "utf-8",
- "txt", "rt", "aqt",
+ "rt", "aqt",
"usf", "jss", "cdg",
"psb", "mpsub","mpl2",
"pjs", "dks",
More information about the vlc-commits
mailing list