[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:02:28 CEST 2008
vlc | branch: 0.9-bugfix | Derk-Jan Hartman <hartman at videolan.org> | Tue Sep 2 12:00:32 2008 +0200| [330b434519a5a468d2f54cc5ec003a879bb0d912] | 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=330b434519a5a468d2f54cc5ec003a879bb0d912
---
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