subparse: Add missing caps to sink caps template
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Tue, 1 Dec 2009 16:19:35 +0000 (13:19 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Tue, 1 Dec 2009 16:32:33 +0000 (13:32 -0300)
Some caps were missing from the sink caps template when
xml was disabled

gst/subparse/gstsubparse.c

index 6a62efb..a328b67 100644 (file)
@@ -73,7 +73,8 @@ static GstStaticPadTemplate sink_templ = GST_STATIC_PAD_TEMPLATE ("sink",
 static GstStaticPadTemplate sink_templ = GST_STATIC_PAD_TEMPLATE ("sink",
     GST_PAD_SINK,
     GST_PAD_ALWAYS,
-    GST_STATIC_CAPS ("application/x-subtitle; application/x-subtitle-dks")
+    GST_STATIC_CAPS ("application/x-subtitle; application/x-subtitle-dks; "
+        "application/x-subtitle-tmplayer; application/x-subtitle-mpl2")
     );
 #endif