From f57b7d6e2bfe2d2b759e5389cdd6c9f10acd1f16 Mon Sep 17 00:00:00 2001 From: Julian Scheel Date: Sat, 27 Dec 2008 17:19:57 +0000 Subject: Revert pts changes for now as they cause trouble. --- src/libvdpau/vdpau_h264.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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; -- cgit v1.2.3