From 9ad88d265c71f41421f4585ddcc055bc2cff38e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 12 Nov 2012 13:01:23 +0100 Subject: [PATCH] vp8enc: Don't leak GstVideoCodecFrames that cause the creation of invisible frames Fixes bug #682714. --- ext/vpx/gstvp8enc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/vpx/gstvp8enc.c b/ext/vpx/gstvp8enc.c index 265e6c35a5..e1c30306c0 100644 --- a/ext/vpx/gstvp8enc.c +++ b/ext/vpx/gstvp8enc.c @@ -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);