vaapidecode: negotiate after destroying allocator
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Mon, 21 Nov 2016 17:42:02 +0000 (18:42 +0100)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Mon, 21 Nov 2016 18:00:04 +0000 (19:00 +0100)
commitf09d9ff2ab93fbbab3a3f89d43bd72a59e49ef38
treeaad697551bccbf2acce0be5f17e79708585abdde
parent22463b96f34b0ffe0a5544976b40371ea9bdee13
vaapidecode: negotiate after destroying allocator

This is related with bug 758907 when no vaapipostproc is used (no
vaapidecodebin). In order to negotiate downstream we need to destroy
the source pad allocator, otherwise the same allocated buffers are
used, failing the mapping.
gst/vaapi/gstvaapidecode.c