[vlc-commits] Readd txt autodetection

Jean-Baptiste Kempf git at videolan.org
Fri Feb 11 22:54:25 CET 2011


vlc/vlc-1.1 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Feb  9 00:33:17 2011 +0100| [66ac285589144dfbdb5e8806c84d4094f3a6fd2b] | committer: Jean-Baptiste Kempf

Readd txt autodetection

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit e3147fe7767b0a98a472931c3fd3fddb534837c7)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=66ac285589144dfbdb5e8806c84d4094f3a6fd2b
---

 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 bd5e49c..d619648 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",
-    "rt",   "aqt",
+    "rt",   "aqt", "txt",
     "usf", "jss",  "cdg",
     "psb", "mpsub","mpl2",
     "pjs", "dks",



More information about the vlc-commits mailing list