From 56007cdc8b390ebe647bcb0c62cd521c61a6b223 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Sun, 12 Dec 2010 12:38:19 +0100 Subject: Add .ass extension to be recognized as subtitle file. --- ChangeLog | 1 + src/libsputext/demux_sputext.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3bd15ffb2..16cb1d6af 100644 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,7 @@ xine-lib (1.1.??) 2010-??-?? * Possibility to disable HW acceleration in directx video output. * Header stripping support in Matroska demuxer. * Update nosefart to 2.7-mls (stability with corrupted NSF files). + * Add .ass extension to be recognized as subtitle file. [Bug #123] xine-lib (1.1.19) 2010-07-25 * Handle odd widths properly (for ffmpeg-decoded video). diff --git a/src/libsputext/demux_sputext.c b/src/libsputext/demux_sputext.c index b0e1299d9..f97d038f7 100644 --- a/src/libsputext/demux_sputext.c +++ b/src/libsputext/demux_sputext.c @@ -1386,7 +1386,8 @@ static demux_plugin_t *open_demux_plugin (demux_class_t *class_gen, xine_stream_ (strncasecmp(ending, ".sub", 4) != 0) && (strncasecmp(ending, ".srt", 4) != 0) && (strncasecmp(ending, ".smi", 4) != 0) && - (strncasecmp(ending, ".ssa", 4) != 0))) { + (strncasecmp(ending, ".ssa", 4) != 0) && + (strncasecmp(ending, ".ass", 4) != 0))) { free (this); return NULL; } -- cgit v1.2.3