[vlc-devel] commit: subtitle detection: Add support for pbs, dks, mpsub, pjs and mpl2 detection. (Derk-Jan Hartman )

git version control git at videolan.org
Tue Sep 2 12:00:00 CEST 2008


vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Tue Sep  2 12:00:32 2008 +0200| [3be1a6952e1629cb07d17691f32522851002ac2e] | committer: Derk-Jan Hartman 

subtitle detection: Add support for pbs, dks, mpsub, pjs and mpl2 detection.

Moved the order around a bit so that more common formats are earlier in the array.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3be1a6952e1629cb07d17691f32522851002ac2e
---

 src/input/subtitles.c |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/input/subtitles.c b/src/input/subtitles.c
index 79f8c82..0ad27d3 100644
--- a/src/input/subtitles.c
+++ b/src/input/subtitles.c
@@ -59,11 +59,13 @@
  * The possible extensions for subtitle files we support
  */
 static const char const sub_exts[][6] = {
+    "idx", "sub",  "srt",
+    "ssa", "ass",  "smi",
     "utf", "utf8", "utf-8",
-    "sub", "srt", "smi",
-    "txt", "ssa", "idx",
-    "ass", "rt", "aqt",
-    "usf", "jss", "cdg",
+    "txt", "rt",   "aqt",
+    "usf", "jss",  "cdg",
+    "psb", "mpsub","mpl2",
+    "pjs", "dks",
     ""
 };
 




More information about the vlc-devel mailing list