mpeg4videoparse: Use the sinkpad template caps as a fallback, not the srcpad ones

This commit is contained in:
Sebastian Dröge 2011-11-24 10:26:25 +01:00
parent dc2c61faf5
commit ca6ae54d5f

View 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)));
}