mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
vp8enc: Don't leak GstVideoCodecFrames that cause the creation of invisible frames
Fixes bug #682714.
This commit is contained in:
parent
5e9adc4936
commit
9ad88d265c
1 changed files with 1 additions and 0 deletions
|
@ -1807,6 +1807,7 @@ gst_vp8_enc_process (GstVP8Enc * encoder)
|
||||||
|
|
||||||
if (invisible) {
|
if (invisible) {
|
||||||
user_data->invisible = g_list_append (user_data->invisible, buffer);
|
user_data->invisible = g_list_append (user_data->invisible, buffer);
|
||||||
|
gst_video_codec_frame_unref (frame);
|
||||||
} else {
|
} else {
|
||||||
frame->output_buffer = buffer;
|
frame->output_buffer = buffer;
|
||||||
g_mutex_unlock (&encoder->encoder_lock);
|
g_mutex_unlock (&encoder->encoder_lock);
|
||||||
|
|
Loading…
Reference in a new issue