[vlc-devel] [PATCH 3/3] Readd txt autodetection

Jean-Baptiste Kempf jb at videolan.org
Thu Feb 10 00:44:40 CET 2011


Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
---
 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 6d37e6b6..94231ea 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",
-    "rt",   "aqt",
+    "rt",   "aqt", "txt",
     "usf", "jss",  "cdg",
     "psb", "mpsub","mpl2",
     "pjs", "dks",
-- 
1.7.2.3




More information about the vlc-devel mailing list