From: Fraxinas Date: Sun, 9 May 2010 12:41:08 +0000 (+0200) Subject: [servicemp3] fix plaintext subtitles (add #506) X-Git-Tag: 3.0.0~28^2~61^2~11 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/b1d12bc36da7d4a124948e4d0a5978c256c146a5?hp=9a23857fd9c6b3dd6a989d865974df96e9fe1828 [servicemp3] fix plaintext subtitles (add #506) --- diff --git a/lib/service/servicemp3.cpp b/lib/service/servicemp3.cpp index 50b02efd..4ecbd76b 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); }