plugins: check if the pool config is already set
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Thu, 30 Apr 2015 11:21:08 +0000 (13:21 +0200)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Thu, 30 Apr 2015 11:51:22 +0000 (13:51 +0200)
commit188d8fe44261555c77b92169710d6400ca118be6
treed381f526662202c35f5495ec7cab874f75e9d19a
parent28b4fc4dd90737587d2f5384b1101722d4ac37f7
plugins: check if the pool config is already set

In commit 97b768, a regression for GStreamer 1.2 was introduced:

GStreamer 1.2 doesn't check, in gst_buffer_pool_set_config() if the
config option is already set. This patch adds an inline function to
first verify if the option is not in the pool config berfore add it.
gst/vaapi/gstvaapipluginbase.c