mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-03 21:12:26 +00:00
vdpaumpegdec: remove unneded gst_buffer_ref and the accompanying gst_buffer_unref
This commit is contained in:
parent
fc3c9dba95
commit
806d4ced04
1 changed files with 0 additions and 3 deletions
|
@ -166,7 +166,6 @@ gst_vdp_mpeg_decoder_decode (GstVdpMpegDecoder * mpeg_dec)
|
|||
|
||||
mpeg_dec->b_frames = g_slist_append (mpeg_dec->b_frames, b_frame);
|
||||
|
||||
gst_buffer_ref (mpeg_dec->f_buffer);
|
||||
mpeg_dec->vdp_info.slice_count = 0;
|
||||
|
||||
return GST_FLOW_OK;
|
||||
|
@ -230,8 +229,6 @@ gst_vdp_mpeg_decoder_decode (GstVdpMpegDecoder * mpeg_dec)
|
|||
|
||||
gst_vdp_decoder_push_video_buffer (GST_VDPAU_DECODER (mpeg_dec),
|
||||
b_outbuf);
|
||||
|
||||
gst_buffer_unref (mpeg_dec->f_buffer);
|
||||
}
|
||||
g_slist_free (mpeg_dec->b_frames);
|
||||
mpeg_dec->b_frames = NULL;
|
||||
|
|
Loading…
Reference in a new issue