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
This commit is contained in:
Thiago Santos 2015-08-14 11:43:57 -03:00
parent c4cd1ce4fd
commit 8f855a8b78

View file

@ -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