Commit 9a3b4a78 authored by gb's avatar gb Committed by Gwenole Beauchesne

Fix memory leak of encoded buffers.

parent 5e8e268e
gst-vaapi NEWS -- summary of changes. 2010-05-14
gst-vaapi NEWS -- summary of changes. 2010-05-DD
Copyright (C) 2010 Splitted-Desktop Systems
Version 0.2.3 - DD.May.2010
* Fix memory leak of encoded buffers
Version 0.2.2 - 14.May.2010
* Fix packaging dependencies
* Fix a crash in the FFmpeg decoder on close
......
......@@ -105,6 +105,7 @@ decode_step(GstVaapiDecoder *decoder)
status = GST_VAAPI_DECODER_GET_CLASS(decoder)->decode(decoder, buffer);
GST_DEBUG("decode frame (status = %d)", status);
gst_buffer_unref(buffer);
if (status == GST_VAAPI_DECODER_STATUS_SUCCESS)
return status;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment