audiodecoder: add option to use default pad accept-caps handling
authorThiago Santos <thiagoss@osg.samsung.com>
Sat, 15 Aug 2015 10:31:54 +0000 (07:31 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Sat, 15 Aug 2015 16:44:34 +0000 (13:44 -0300)
commit33b1da7b802346550bb4b44ed1eba8865b49612c
treeb0efb0c53b106861d84a10fdb3ff176fe5d1b68d
parent4982188cf706a1a581afaabdcedb16f5c4f537bb
audiodecoder: add option to use default pad accept-caps handling

Add gst_audio_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_audio_decoder_set_use_default_pad_acceptcaps
gst-libs/gst/audio/gstaudiodecoder.c
gst-libs/gst/audio/gstaudiodecoder.h
win32/common/libgstaudio.def