diff --git a/ext/openh264/gstopenh264dec.cpp b/ext/openh264/gstopenh264dec.cpp index 8fad292f27..ea197dfc85 100644 --- a/ext/openh264/gstopenh264dec.cpp +++ b/ext/openh264/gstopenh264dec.cpp @@ -240,7 +240,6 @@ gst_openh264dec_handle_frame (GstVideoDecoder * decoder, memset (&dst_buf_info, 0, sizeof (SBufferInfo)); ret = openh264dec->decoder->DecodeFrame2 (NULL, 0, yuvdata, &dst_buf_info); if (ret != dsErrorFree) { - gst_video_codec_frame_unref (frame); return GST_FLOW_EOS; } }