summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/video_dec/libvdpau/vdpau_h264.c2
1 files changed, 1 insertions, 1 deletions
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",