gstreamer: Remove unused variable

This commit is contained in:
Sebastian Dröge 2023-01-11 15:23:03 +02:00 committed by Hassene Tmar
parent 040c92d8b0
commit f56e8b2fad

View file

@ -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++;
}