From f315613cfb7e1458ad7282cacd6659120251fa42 Mon Sep 17 00:00:00 2001 From: Julian Scheel Date: Tue, 15 Jun 2010 18:53:46 +0200 Subject: fix max_dpb_count --- src/video_dec/libvdpau/vdpau_h264.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video_dec/libvdpau/vdpau_h264.c b/src/video_dec/libvdpau/vdpau_h264.c index f6b11e74c..257f3b1a7 100644 --- a/src/video_dec/libvdpau/vdpau_h264.c +++ b/src/video_dec/libvdpau/vdpau_h264.c @@ -765,7 +765,7 @@ static void vdpau_h264_decode_data (video_decoder_t *this_gen, this->nal_parser->dpb->max_reorder_frames = this->completed_pic->sps_nal->sps.vui_parameters.num_reorder_frames + 1; - this->nal_parser->dpb->max_dpb_frames = this->completed_pic->sps_nal->sps.vui_parameters.max_dec_frame_buffering; + this->nal_parser->dpb->max_dpb_frames = this->completed_pic->sps_nal->sps.vui_parameters.max_dec_frame_buffering + 1; xprintf(this->xine, XINE_VERBOSITY_DEBUG, "max reorder count: %d, max dpb count %d\n", -- cgit v1.2.3