videodecoder: add option to use default pad accept-caps handling
authorThiago Santos <thiagoss@osg.samsung.com>
Sat, 15 Aug 2015 10:20:25 +0000 (07:20 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Sat, 15 Aug 2015 16:44:34 +0000 (13:44 -0300)
commit4982188cf706a1a581afaabdcedb16f5c4f537bb
treee6fc68cf89513e8fa39f3490c081cd75f841df70
parent95eb6418215b49163b326d3d5bf89078b5cbe5c5
videodecoder: add option to use default pad accept-caps handling

Add gst_video_decoder_set_use_default_pad_acceptcaps() to allow
subclasses to make videodecoder use the default pad acceptcaps
handling instead of resorting to the caps query that is, usually,
less efficient and unecessary

API: gst_video_decoder_set_use_default_pad_acceptcaps
gst-libs/gst/video/gstvideodecoder.c
gst-libs/gst/video/gstvideodecoder.h
win32/common/libgstvideo.def