From f56e8b2fade39eda1053a2a761708657a7753bdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 11 Jan 2023 15:23:03 +0200 Subject: [PATCH] gstreamer: Remove unused variable --- subprojects/gst-plugins-bad/ext/svtav1/gstsvtav1enc.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/subprojects/gst-plugins-bad/ext/svtav1/gstsvtav1enc.c b/subprojects/gst-plugins-bad/ext/svtav1/gstsvtav1enc.c index b0f85af9b9..14359eefa3 100644 --- a/subprojects/gst-plugins-bad/ext/svtav1/gstsvtav1enc.c +++ b/subprojects/gst-plugins-bad/ext/svtav1/gstsvtav1enc.c @@ -633,7 +633,6 @@ gst_svtav1enc_dequeue_encoded_frames (GstSvtAv1Enc * svtav1enc, gboolean encode_at_eos = FALSE; do { - GList *pending_frames = NULL; GstVideoCodecFrame *frame = NULL; EbBufferHeaderType *output_buf = NULL; @@ -675,11 +674,6 @@ gst_svtav1enc_dequeue_encoded_frames (GstSvtAv1Enc * svtav1enc, ret = gst_video_encoder_finish_frame (GST_VIDEO_ENCODER (svtav1enc), frame); - if (pending_frames != NULL) { - g_list_free_full (pending_frames, - (GDestroyNotify) gst_video_codec_frame_unref); - } - svtav1enc->frame_count++; }