libs: fix GstVaapiSurfaceProxy destroy notify call site.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 20 Nov 2013 14:10:17 +0000 (15:10 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 21 Nov 2013 10:08:23 +0000 (11:08 +0100)
commita1189301c9816936b070150691114dec2a053104
tree5e8f03958e4322746c46e50baa9f3c01997c5e46
parentf9ee8703cfdea8e9ac69dd957be20d6732a8615f
libs: fix GstVaapiSurfaceProxy destroy notify call site.

The user-defined destroy notify function is meant to be called only when
the surface proxy was fully released, i.e. once it actually released the
VA surface back to the underlying pool.
gst-libs/gst/vaapi/gstvaapisurfaceproxy.c