summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Scheel <julian@jusst.de>2008-12-27 17:19:57 +0000
committerJulian Scheel <julian@jusst.de>2008-12-27 17:19:57 +0000
commitf57b7d6e2bfe2d2b759e5389cdd6c9f10acd1f16 (patch)
treef4b0c5b1a20dc015100e6b8fcaf5b651e5550107
parentba67f2e81dce751e643ff51a4448a950e27cdc12 (diff)
downloadxine-lib-f57b7d6e2bfe2d2b759e5389cdd6c9f10acd1f16.tar.gz
xine-lib-f57b7d6e2bfe2d2b759e5389cdd6c9f10acd1f16.tar.bz2
Revert pts changes for now as they cause trouble.
-rw-r--r--src/libvdpau/vdpau_h264.c6
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;