mpeg4videoparse: Use the sinkpad template caps as a fallback, not the srcpad ones
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 24 Nov 2011 09:26:25 +0000 (10:26 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 24 Nov 2011 09:26:25 +0000 (10:26 +0100)
gst/mpeg4videoparse/mpeg4videoparse.c

index 6a2c075708053e3271a9ed6db68fe086a0f7badb..3b056b3c17d9bd7ad029bb38f523b8f2b7cac828 100644 (file)
@@ -632,7 +632,7 @@ gst_mpeg4vparse_get_caps (GstBaseParse * parse)
     gst_caps_unref (peercaps);
   } else {
     res =
-        gst_caps_copy (gst_pad_get_pad_template_caps (GST_BASE_PARSE_SRC_PAD
+        gst_caps_copy (gst_pad_get_pad_template_caps (GST_BASE_PARSE_SINK_PAD
             (parse)));
   }