summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Santos <thiagoss@osg.samsung.com>2015-08-14 11:43:57 -0300
committerThiago Santos <thiagoss@osg.samsung.com>2015-08-14 13:42:59 -0300
commit8f855a8b78ddeef4ed118a04354c6cd7dd767c03 (patch)
treeeae24bd7f8c281d6c1036937639ec55833edcf78
parentc4cd1ce4fde363bd4e22416cff32e0a15447a53f (diff)
downloadgstreamer-plugins-bad-8f855a8b78ddeef4ed118a04354c6cd7dd767c03.tar.gz
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
-rw-r--r--gst/videoparsers/gstpngparse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/videoparsers/gstpngparse.c b/gst/videoparsers/gstpngparse.c
index c50efb578..154f81561 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