aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2010-12-13 12:15:20 +0100
committerghost <andreas.monzner@multimedia-labs.de>2010-12-13 12:16:15 +0100
commit706a18038f5da82d10529188e699e37bb4a9f76a (patch)
treeabfc07093abe0ec00f4fc85fcfc37db7d1446e02
parentf8203ea5c494f34cee4fb72fb99b5ca3e429c8a1 (diff)
downloadenigma2-706a18038f5da82d10529188e699e37bb4a9f76a.tar.gz
enigma2-706a18038f5da82d10529188e699e37bb4a9f76a.zip
disable debug output, remove SRT workaround
refs #537
-rw-r--r--lib/service/servicemp3.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/service/servicemp3.cpp b/lib/service/servicemp3.cpp
index 31ae9573..04b1773f 100644
--- a/lib/service/servicemp3.cpp
+++ b/lib/service/servicemp3.cpp
@@ -362,10 +362,6 @@ eServiceMP3::eServiceMP3(eServiceReference ref)
{
eDebug("eServiceMP3::subtitle uri: %s", g_filename_to_uri(srt_filename, NULL, NULL));
g_object_set (G_OBJECT (m_gst_playbin), "suburi", g_filename_to_uri(srt_filename, NULL, NULL), NULL);
- subtitleStream subs;
- subs.type = stSRT;
- subs.language_code = std::string("und");
- m_subtitleStreams.push_back(subs);
}
} else
{
@@ -1171,7 +1167,7 @@ void eServiceMP3::gstBusCall(GstBus *bus, GstMessage *msg)
source = GST_MESSAGE_SRC(msg);
sourceName = gst_object_get_name(source);
-#if 1
+#if 0
if (gst_message_get_structure(msg))
{
gchar *string = gst_structure_to_string(gst_message_get_structure(msg));
@@ -1374,8 +1370,7 @@ void eServiceMP3::gstBusCall(GstBus *bus, GstMessage *msg)
g_signal_emit_by_name (m_gst_playbin, "get-text-pad", i, &pad);
if ( pad )
g_signal_connect (G_OBJECT (pad), "notify::caps", G_CALLBACK (gstTextpadHasCAPS), this);
- if ( subs.type != stSRT )
- subs.type = getSubtitleType(pad, g_codec);
+ subs.type = getSubtitleType(pad, g_codec);
m_subtitleStreams.push_back(subs);
g_free (g_lang);