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=b1d12bc36da7d4a124948e4d0a5978c256c146a5;ds=sidebyside [servicemp3] fix plaintext subtitles (add #506) --- diff --git a/lib/service/servicemp3.cpp b/lib/service/servicemp3.cpp index 50b02ef..4ecbd76 100644 --- a/lib/service/servicemp3.cpp +++ b/lib/service/servicemp3.cpp @@ -328,7 +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 (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); }