diff options
-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=... |