diff options
author | Carl-Anton Ingmarsson <ca.ingmarsson@gmail.com> | 2009-04-22 20:28:19 +0200 |
---|---|---|
committer | Jan Schmidt <thaytan@noraisin.net> | 2009-06-20 15:21:30 +0100 |
commit | 806d4ced04098470b92c3ff53fe82456f26682bc (patch) | |
tree | faab1e46251a91f99cb5c22147057a4a3a772af4 | |
parent | fc3c9dba95e18647ab097edc7f2ba5dfecddb787 (diff) | |
download | gst-plugins-bad-806d4ced04098470b92c3ff53fe82456f26682bc.tar.gz gst-plugins-bad-806d4ced04098470b92c3ff53fe82456f26682bc.tar.bz2 gst-plugins-bad-806d4ced04098470b92c3ff53fe82456f26682bc.zip |
vdpaumpegdec: remove unneded gst_buffer_ref and the accompanying gst_buffer_unref
-rw-r--r-- | sys/vdpau/gstvdpmpegdecoder.c | 3 |
1 files changed, 0 insertions, 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; |