[vlc-commits] commit: Subtitles: remove .txt for autodetection (Jean-Baptiste Kempf )
git at videolan.org
git at videolan.org
Tue Nov 16 10:21:06 CET 2010
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Nov 15 23:04:51 2010 +0100| [2afaacab847a7081f841cfd1c0dc3193c9e3e5bf] | 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>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2afaacab847a7081f841cfd1c0dc3193c9e3e5bf
---
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 9c6843d..ed3f7c7 100644
--- a/src/input/subtitles.c
+++ b/src/input/subtitles.c
@@ -57,7 +57,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