From ca6ae54d5f812a3c81c5e89971f465f0d56454dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 24 Nov 2011 10:26:25 +0100 Subject: [PATCH] mpeg4videoparse: Use the sinkpad template caps as a fallback, not the srcpad ones --- gst/mpeg4videoparse/mpeg4videoparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/mpeg4videoparse/mpeg4videoparse.c b/gst/mpeg4videoparse/mpeg4videoparse.c index 6a2c075708..3b056b3c17 100644 --- a/gst/mpeg4videoparse/mpeg4videoparse.c +++ b/gst/mpeg4videoparse/mpeg4videoparse.c @@ -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))); }