Commit 1718697a authored by Jan Schmidt's avatar Jan Schmidt
Browse files

videodecoder: Don't leak a ref to frames in reverse playback

parent 1ed29bdb
......@@ -1655,7 +1655,6 @@ gst_video_decoder_flush_decode (GstVideoDecoder * dec)
priv->decode = g_list_delete_link (priv->decode, walk);
/* decode buffer, resulting data prepended to queue */
gst_video_codec_frame_ref (frame);
res = gst_video_decoder_decode_frame (dec, frame);
if (res != GST_FLOW_OK)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment