surfaceproxy: simplify destruction.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 5 Jan 2012 15:44:44 +0000 (16:44 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 5 Jan 2012 16:35:37 +0000 (17:35 +0100)
commit40f44ab60eeceb0416858afd205bdfa9e6276d58
tree4686c5e9d7ccd0727ac438982c279c9d78b1bdac
parent48cefaf9ce81225b59d0e4b7d320bb229a6e9301
surfaceproxy: simplify destruction.

Also make sure to always make sure to release the surface back to the
pool of surfaces in the associated VA context, if any.
gst-libs/gst/vaapi/gstvaapisurfaceproxy.c