decoder: fix memory leak of VA objects on exit.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 31 Jan 2012 10:26:37 +0000 (11:26 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 31 Jan 2012 10:29:06 +0000 (11:29 +0100)
commit399875ee86ac7fa2c581e94d154d5ba2b9a7e2d5
treecb0c19da08b130fcd1db757ebf5e37ea61e5ea6b
parent11d09495ea084ee2af740db61e4445ef5128d9af
decoder: fix memory leak of VA objects on exit.

On sequence end, if the last decoded picture is not output for rendering,
then the proxy surface is not created. In this case, the original surface
must be released explicitly to the context.
gst-libs/gst/vaapi/gstvaapidecoder_objects.c