aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFraxinas <andreas.frisch@multimedia-labs.de>2010-05-05 16:00:27 +0200
committerFraxinas <andreas.frisch@multimedia-labs.de>2010-05-05 18:39:10 +0200
commit720812b388b0c6cb14a175957ff4017ea8af07e2 (patch)
tree8bfddc104f41998933d12e2e5a81c0f424c138a5 /lib
parenteea0d8e99edec859a7535966b880b49bd0bba85a (diff)
downloadenigma2-720812b388b0c6cb14a175957ff4017ea8af07e2.tar.gz
enigma2-720812b388b0c6cb14a175957ff4017ea8af07e2.zip
set subtitle-sink gstreamer caps (fixed #506, requires gst-plugin-playbin_0.10.28-r7.1)
Diffstat (limited to 'lib')
-rw-r--r--lib/service/servicemp3.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/service/servicemp3.cpp b/lib/service/servicemp3.cpp
index 0b2ac9d4..50b02efd 100644
--- a/lib/service/servicemp3.cpp
+++ b/lib/service/servicemp3.cpp
@@ -328,6 +328,7 @@ eServiceMP3::eServiceMP3(eServiceReference ref)
else
{
m_subs_to_pull_handler_id = g_signal_connect (subsink, "new-buffer", G_CALLBACK (gstCBsubtitleAvail), this);
+ g_object_set (G_OBJECT (subsink), "caps", gst_caps_from_string("text/x-plain; text/x-pango-markup"), NULL);
g_object_set (G_OBJECT (m_gst_playbin), "text-sink", subsink, NULL);
}