basetransform: rework accept-caps
authorThiago Santos <thiagoss@osg.samsung.com>
Thu, 13 Aug 2015 16:08:03 +0000 (13:08 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Thu, 13 Aug 2015 17:07:35 +0000 (14:07 -0300)
commite0cc0e0888a1e900b6f5be5119324c5e1db13c95
treeb662e00bff4c0b3e94d0e09dcb3de0df15935853
parent42acf05b224741cb01ff126cbd8057a68447d09b
basetransform: rework accept-caps

According to the design docs:
The ACCEPT_CAPS query is not required to work recursively, it can simply
return TRUE if a subsequent CAPS event with those caps would return
success.

So make it a shallow check instead of recursivelly check downstream.

https://bugzilla.gnome.org/show_bug.cgi?id=748635
libs/gst/base/gstbasetransform.c