mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
videodecoder: Don't leak a ref to frames in reverse playback
This commit is contained in:
parent
1ed29bdb90
commit
1718697ae2
1 changed files with 0 additions and 1 deletions
|
@ -1655,7 +1655,6 @@ gst_video_decoder_flush_decode (GstVideoDecoder * dec)
|
||||||
priv->decode = g_list_delete_link (priv->decode, walk);
|
priv->decode = g_list_delete_link (priv->decode, walk);
|
||||||
|
|
||||||
/* decode buffer, resulting data prepended to queue */
|
/* decode buffer, resulting data prepended to queue */
|
||||||
gst_video_codec_frame_ref (frame);
|
|
||||||
res = gst_video_decoder_decode_frame (dec, frame);
|
res = gst_video_decoder_decode_frame (dec, frame);
|
||||||
if (res != GST_FLOW_OK)
|
if (res != GST_FLOW_OK)
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue