summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJulian Scheel <julian@jusst.de>2010-06-15 18:53:46 +0200
committerJulian Scheel <julian@jusst.de>2010-06-15 18:53:46 +0200
commitf315613cfb7e1458ad7282cacd6659120251fa42 (patch)
tree31bbea7fd2bdce7457776d9adaa44b169f7c4a1a /src
parent683cd0f89680fdb989e5166cf57ef9d1787c9044 (diff)
downloadxine-lib-f315613cfb7e1458ad7282cacd6659120251fa42.tar.gz
xine-lib-f315613cfb7e1458ad7282cacd6659120251fa42.tar.bz2
fix max_dpb_count
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",