diff options
author | phintuka <phintuka> | 2007-03-14 13:55:04 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2007-03-14 13:55:04 +0000 |
commit | 57615da490a22d5053e94a097fb808b917cbe783 (patch) | |
tree | ca0edcb3d7c4364095c2e3a44cf42ce6e7720978 | |
parent | db2efc0df509bf258781d6ae5869e45ec979f4b8 (diff) | |
download | xineliboutput-57615da490a22d5053e94a097fb808b917cbe783.tar.gz xineliboutput-57615da490a22d5053e94a097fb808b917cbe783.tar.bz2 |
File extensions for separate subtitles
-rw-r--r-- | config.c | 6 | ||||
-rw-r--r-- | config.h | 4 |
2 files changed, 8 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: config.c,v 1.25 2007-03-14 11:29:11 phintuka Exp $ + * $Id: config.c,v 1.26 2007-03-14 13:55:04 phintuka Exp $ * */ @@ -84,6 +84,10 @@ const char *config_t::s_speakerArrangements[] = "Surround 6.1", "Surround 7.1", "Pass Through", NULL}; +const char *config_t::s_subExts[] = {".sub", ".srt", ".txt", ".ssa", + ".SUB", ".SRT", ".TXT", ".SSA", + NULL}; + static char *strcatrealloc(char *dest, const char *src) { if (!src || !*src) @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: config.h,v 1.16 2007-01-24 04:29:03 phintuka Exp $ + * $Id: config.h,v 1.17 2007-03-14 13:55:04 phintuka Exp $ * */ @@ -167,6 +167,8 @@ class config_t { static const char *s_audioVisualizationNames[]; static const char *s_speakerArrangements[]; + static const char *s_subExts[]; + public: char video_driver[32]; char video_port[32]; // X11: DISPLAY=... |