mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
vdpaumpegdec: fixup error where we set forward_reference instead of backward_reference
This commit is contained in:
parent
e0ddcabd7a
commit
fc3c9dba95
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue