aboutsummaryrefslogtreecommitdiff
path: root/lib/service
diff options
context:
space:
mode:
authorAndreas Frisch <andreas.frisch@multimedia-labs.de>2008-10-03 20:52:50 +0000
committerAndreas Frisch <andreas.frisch@multimedia-labs.de>2008-10-03 20:52:50 +0000
commitf51d97f3ee2b0121ffe1fe789ca58c089408b980 (patch)
tree4e1f76c406e65ec479fd0daf47af47a2ae7a97ad /lib/service
parentb6c21aa27e2a782996c625bc6e85a466bd7c9932 (diff)
downloadenigma2-f51d97f3ee2b0121ffe1fe789ca58c089408b980.tar.gz
enigma2-f51d97f3ee2b0121ffe1fe789ca58c089408b980.zip
Allow playback of VCD (Video CD) and SVCD
Diffstat (limited to 'lib/service')
-rw-r--r--lib/service/servicemp3.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/service/servicemp3.cpp b/lib/service/servicemp3.cpp
index 25c52933..0197d26f 100644
--- a/lib/service/servicemp3.cpp
+++ b/lib/service/servicemp3.cpp
@@ -195,7 +195,7 @@ eServiceMP3::eServiceMP3(const char *filename): m_filename(filename), m_pump(eAp
if (!ext)
ext = filename;
- int is_mpeg_ps = !(strcasecmp(ext, ".mpeg") && strcasecmp(ext, ".mpg") && strcasecmp(ext, ".vob") && strcasecmp(ext, ".bin"));
+ int is_mpeg_ps = !(strcasecmp(ext, ".mpeg") && strcasecmp(ext, ".mpg") && strcasecmp(ext, ".vob") && strcasecmp(ext, ".bin") && strcasecmp(ext, ".dat"));
int is_mpeg_ts = !strcasecmp(ext, ".ts");
int is_matroska = !strcasecmp(ext, ".mkv");
int is_avi = !strcasecmp(ext, ".avi");
@@ -1092,7 +1092,6 @@ void eServiceMP3::gstCBsubtitleAvail(GstElement *element, GstBuffer *buffer, Gst
}
else
eDebug("on inactive element: %s (%p) saw subtitle: %s",sourceName, element, text);
- return TRUE;
}
RESULT eServiceMP3::enableSubtitles(eWidget *parent, ePyObject tuple)