encoder: fix possible memory leak of coded buffer pools.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 10 Jan 2014 10:30:25 +0000 (11:30 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 13 Jan 2014 16:31:55 +0000 (17:31 +0100)
commit20ab910d15b4d748ed747ebbdedfbfa2d5f9bf9f
tree6a00a140b9f696579e636ff686f58e135e3b3f30
parent5394c75461073a83f28bc92060977f334f034191
encoder: fix possible memory leak of coded buffer pools.

Fix gst_vaapi_encoder_reconfigure_internal() to re-/allocate the coded
buffer pool only if the coded buffer size actually changed.
gst-libs/gst/vaapi/gstvaapicodedbufferpool.c
gst-libs/gst/vaapi/gstvaapicodedbufferpool.h
gst-libs/gst/vaapi/gstvaapiencoder.c