vaapipostproc: create filter surface pool if it does not exist yet.
authorSimon Farnsworth <simon.farnsworth@onelan.co.uk>
Fri, 7 Feb 2014 12:27:50 +0000 (12:27 +0000)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 18 Jun 2014 15:30:12 +0000 (17:30 +0200)
commit1a2c06a81cb7d78609b99b5906f528070da9cad6
treeba55afcbf1912ba5dbdf84a47144307d0403805b
parentfaefd62e9be3e36cc0465f5e66e1711d7b5d7a03
vaapipostproc: create filter surface pool if it does not exist yet.

ensure_srcpad_buffer_pool() tries to avoid unnecessarily deleting and
recreating filter_pool. Unfortunately, this also meant it didn't create
it if it did not exist.

Fix it to always create the buffer pool if it does not exist.

https://bugzilla.gnome.org/show_bug.cgi?id=723834

Signed-off-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk>
gst/vaapi/gstvaapipostproc.c