decodebin/uridecodebin: Recognise subpicture/x-pgs pads and output them.
authorJan Schmidt <thaytan@noraisin.net>
Thu, 21 May 2009 22:11:29 +0000 (23:11 +0100)
committerJan Schmidt <thaytan@noraisin.net>
Thu, 28 May 2009 21:07:30 +0000 (22:07 +0100)
gst/playback/gstdecodebin2.c
gst/playback/gsturidecodebin.c

index 6ff9223..f03d29c 100644 (file)
@@ -656,7 +656,7 @@ gst_decode_bin_init (GstDecodeBin * decode_bin)
   decode_bin->caps =
       gst_caps_from_string ("video/x-raw-yuv;video/x-raw-rgb;video/x-raw-gray;"
       "audio/x-raw-int;audio/x-raw-float;" "text/plain;text/x-pango-markup;"
-      "video/x-dvd-subpicture");
+      "video/x-dvd-subpicture; subpicture/x-pgs");
 }
 
 static void
index 9a67709..146aa94 100644 (file)
@@ -774,7 +774,7 @@ static const gchar *no_media_mimes[] = {
 /* media types we consider raw media */
 static const gchar *raw_media[] = {
   "audio/x-raw", "video/x-raw", "text/plain", "text/x-pango-markup",
-  "video/x-dvd-subpicture", NULL
+  "video/x-dvd-subpicture", "subpicture/x-", NULL
 };
 
 #define IS_STREAM_URI(uri)          (array_has_value (stream_uris, uri))