pad: add GST_PAD_FLAG_ACCEPT_TEMPLATE
authorThiago Santos <thiagoss@osg.samsung.com>
Fri, 14 Aug 2015 10:51:07 +0000 (07:51 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Fri, 14 Aug 2015 11:56:53 +0000 (08:56 -0300)
commitb76ecfd992b0d3a423cc9ace5539ecd2ba509d41
treed2038b79d95c9b910eeacd6e67800734660c3c53
parentf2a26f2bd7ee0343e12e2519644d5569b29c1abd
pad: add GST_PAD_FLAG_ACCEPT_TEMPLATE

It will make the default accept-caps handler use the pad template
caps instead of the query-caps result to check if the caps is
acceptable. This is aligned with what the design docs says the
accept-caps should do (be non-recursive) and should be faster. It
is *not* enabled by default, though.

API: GST_PAD_FLAG_ACCEPT_TEMPLATE
API: GST_PAD_IS_ACCEPT_TEMPLATE
API: GST_PAD_SET_ACCEPT_TEMPLATE
API: GST_PAD_UNSET_ACCEPT_TEMPLATE

https://bugzilla.gnome.org/show_bug.cgi?id=753623
gst/gstpad.c
gst/gstpad.h