[servicemp3] fix plaintext subtitles (add #506)
authorFraxinas <andreas.frisch@multimedia-labs.de>
Sun, 9 May 2010 12:41:08 +0000 (14:41 +0200)
committerghost <andreas.monzner@multimedia-labs.de>
Wed, 6 Oct 2010 10:25:13 +0000 (12:25 +0200)
lib/service/servicemp3.cpp

index 7737c6830bfe71d717cad20a7357b44e2c124346..bd100f05f71a2eb394242b74e67c1a052b4c2e2a 100644 (file)
@@ -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);
        }