From fc3c9dba95e18647ab097edc7f2ba5dfecddb787 Mon Sep 17 00:00:00 2001 From: Carl-Anton Ingmarsson Date: Wed, 22 Apr 2009 20:25:55 +0200 Subject: vdpaumpegdec: fixup error where we set forward_reference instead of backward_reference --- sys/vdpau/gstvdpmpegdecoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/vdpau') diff --git a/sys/vdpau/gstvdpmpegdecoder.c b/sys/vdpau/gstvdpmpegdecoder.c index c40aee81..bbd5403f 100644 --- a/sys/vdpau/gstvdpmpegdecoder.c +++ b/sys/vdpau/gstvdpmpegdecoder.c @@ -211,7 +211,7 @@ gst_vdp_mpeg_decoder_decode (GstVdpMpegDecoder * mpeg_dec) b_outbuf = gst_vdp_video_buffer_new (dec->device, VDP_CHROMA_TYPE_420, dec->width, dec->height); - b_frame->vdp_info.forward_reference = surface; + b_frame->vdp_info.backward_reference = surface; vbit[0].struct_version = VDP_BITSTREAM_BUFFER_VERSION; vbit[0].bitstream = GST_BUFFER_DATA (b_frame->buffer); vbit[0].bitstream_bytes = GST_BUFFER_SIZE (b_frame->buffer); -- cgit v1.2.1