diff options
author | Carl-Anton Ingmarsson <ca.ingmarsson@gmail.com> | 2009-04-22 20:25:55 +0200 |
---|---|---|
committer | Jan Schmidt <thaytan@noraisin.net> | 2009-06-20 15:21:30 +0100 |
commit | fc3c9dba95e18647ab097edc7f2ba5dfecddb787 (patch) | |
tree | aa9ab4155908bee5241f59c3d05f7cf57c55142a /sys | |
parent | e0ddcabd7ab63c8060b7259e4075a0e88e5bcf66 (diff) | |
download | gst-plugins-bad-fc3c9dba95e18647ab097edc7f2ba5dfecddb787.tar.gz gst-plugins-bad-fc3c9dba95e18647ab097edc7f2ba5dfecddb787.tar.bz2 gst-plugins-bad-fc3c9dba95e18647ab097edc7f2ba5dfecddb787.zip |
vdpaumpegdec: fixup error where we set forward_reference instead of backward_reference
Diffstat (limited to 'sys')
-rw-r--r-- | sys/vdpau/gstvdpmpegdecoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |