From 806d4ced04098470b92c3ff53fe82456f26682bc Mon Sep 17 00:00:00 2001 From: Carl-Anton Ingmarsson Date: Wed, 22 Apr 2009 20:28:19 +0200 Subject: vdpaumpegdec: remove unneded gst_buffer_ref and the accompanying gst_buffer_unref --- sys/vdpau/gstvdpmpegdecoder.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/vdpau/gstvdpmpegdecoder.c b/sys/vdpau/gstvdpmpegdecoder.c index bbd5403f..978d0497 100644 --- a/sys/vdpau/gstvdpmpegdecoder.c +++ b/sys/vdpau/gstvdpmpegdecoder.c @@ -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; -- cgit v1.2.1