diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libvdpau/vdpau_h264.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libvdpau/vdpau_h264.c b/src/libvdpau/vdpau_h264.c index dfda309eb..d6548b682 100644 --- a/src/libvdpau/vdpau_h264.c +++ b/src/libvdpau/vdpau_h264.c @@ -448,11 +448,11 @@ static void vdpau_h264_decode_data (video_decoder_t *this_gen, else { img->duration = this->video_step; - /*if(this->nal_parser->current_nal->nal_unit_type == NAL_SLICE_IDR) + if(this->nal_parser->current_nal->nal_unit_type == NAL_SLICE_IDR) img->pts = buf->pts; else - img->pts = 0;*/ - img->pts = this->next_pts; + img->pts = 0; + //img->pts = this->next_pts; this->next_pts = buf->pts; img->bad_frame = 0; |