diff options
Diffstat (limited to 'src/gallium/state_trackers/vdpau/decode.c')
-rw-r--r-- | src/gallium/state_trackers/vdpau/decode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/vdpau/decode.c b/src/gallium/state_trackers/vdpau/decode.c index de6f96babcb..5c6d0467924 100644 --- a/src/gallium/state_trackers/vdpau/decode.c +++ b/src/gallium/state_trackers/vdpau/decode.c @@ -200,13 +200,13 @@ vlVdpDecoderRenderMpeg2(struct pipe_video_decoder *decoder, picture.intra_quantizer_matrix = picture_info->intra_quantizer_matrix; picture.non_intra_quantizer_matrix = picture_info->non_intra_quantizer_matrix; - buffer->map(buffer); + buffer->begin_frame(buffer); for (i = 0; i < bitstream_buffer_count; ++i) buffer->decode_bitstream(buffer, bitstream_buffers[i].bitstream_bytes, bitstream_buffers[i].bitstream, &picture, num_ycbcr_blocks); - buffer->unmap(buffer); + buffer->end_frame(buffer); decoder->flush_buffer(buffer, num_ycbcr_blocks, ref_frames, target); |