gstvaapidecoder: avoid unnecessary invocation of decide_allocation
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Thu, 15 Nov 2012 21:16:49 +0000 (23:16 +0200)
committerSreerenj Balachandran <sreerenj.balachandran@intel.com>
Thu, 15 Nov 2012 21:16:49 +0000 (23:16 +0200)
commit0f2cf39d9037f2707b03eacee8037d8196d198ee
tree1d32b410bf15dd849cb9735a9f43426c6a19bd4d
parent7f59845799a4f2aa620f0cc28ece05470e34df5c
gstvaapidecoder: avoid unnecessary invocation of decide_allocation

,,gstvaapidecoder is checking whether the allocation params are same
or not. invoke the child decide_allocation iff there is a need
for renegotiation.This will help to avoid the size, format and other
parameter comparison(for context creation) in all the decoderes.
gst-libs/gst/vaapi/gstvaapidecoder.c