From: Fraxinas Date: Sun, 9 May 2010 12:41:08 +0000 (+0200) Subject: [servicemp3] fix plaintext subtitles (add #506) X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=commitdiff_plain;h=bf5df037752d054d924cb9da8fc147c37d10a5fa [servicemp3] fix plaintext subtitles (add #506) --- diff --git a/lib/service/servicemp3.cpp b/lib/service/servicemp3.cpp index 7737c68..bd100f0 100644 --- a/lib/service/servicemp3.cpp +++ b/lib/service/servicemp3.cpp @@ -336,7 +336,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 (subsink), "caps", gst_caps_from_string("text/plain; text/x-plain; text/x-pango-markup"), NULL); g_object_set (G_OBJECT (m_gst_playbin), "text-sink", subsink, NULL); }