mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
Fix memory leak of encoded buffers.
This commit is contained in:
parent
5e8e268e26
commit
9a3b4a7844
2 changed files with 5 additions and 1 deletions
5
NEWS
5
NEWS
|
@ -1,6 +1,9 @@
|
||||||
gst-vaapi NEWS -- summary of changes. 2010-05-14
|
gst-vaapi NEWS -- summary of changes. 2010-05-DD
|
||||||
Copyright (C) 2010 Splitted-Desktop Systems
|
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
|
Version 0.2.2 - 14.May.2010
|
||||||
* Fix packaging dependencies
|
* Fix packaging dependencies
|
||||||
* Fix a crash in the FFmpeg decoder on close
|
* 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);
|
status = GST_VAAPI_DECODER_GET_CLASS(decoder)->decode(decoder, buffer);
|
||||||
GST_DEBUG("decode frame (status = %d)", status);
|
GST_DEBUG("decode frame (status = %d)", status);
|
||||||
|
gst_buffer_unref(buffer);
|
||||||
if (status == GST_VAAPI_DECODER_STATUS_SUCCESS)
|
if (status == GST_VAAPI_DECODER_STATUS_SUCCESS)
|
||||||
return status;
|
return status;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue