From 8f855a8b78ddeef4ed118a04354c6cd7dd767c03 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Fri, 14 Aug 2015 11:43:57 -0300 Subject: [PATCH] pngparse: enable accept-intersect and accept-template flags on sinkpad Do a quick check with the pad template caps as it is enough. Users should have figured the appropriate full caps on a previous caps query https://bugzilla.gnome.org/show_bug.cgi?id=753623 --- gst/videoparsers/gstpngparse.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/videoparsers/gstpngparse.c b/gst/videoparsers/gstpngparse.c index c50efb5787..154f81561b 100644 --- a/gst/videoparsers/gstpngparse.c +++ b/gst/videoparsers/gstpngparse.c @@ -82,6 +82,8 @@ gst_png_parse_class_init (GstPngParseClass * klass) static void gst_png_parse_init (GstPngParse * pngparse) { + GST_PAD_SET_ACCEPT_INTERSECT (GST_BASE_PARSE_SINK_PAD (pngparse)); + GST_PAD_SET_ACCEPT_TEMPLATE (GST_BASE_PARSE_SINK_PAD (pngparse)); } static gboolean