vp8enc: Don't leak GstVideoCodecFrames that cause the creation of invisible frames
Fixes bug #682714.
This commit is contained in:
parent
5e9adc4936
commit
9ad88d265c
@ -1807,6 +1807,7 @@ gst_vp8_enc_process (GstVP8Enc * encoder)
|
||||
|
||||
if (invisible) {
|
||||
user_data->invisible = g_list_append (user_data->invisible, buffer);
|
||||
gst_video_codec_frame_unref (frame);
|
||||
} else {
|
||||
frame->output_buffer = buffer;
|
||||
g_mutex_unlock (&encoder->encoder_lock);
|
||||
|
Loading…
x
Reference in New Issue
Block a user