diff options
author | Christophe Thommeret <hftom@free.fr> | 2009-04-04 20:09:40 +0100 |
---|---|---|
committer | Christophe Thommeret <hftom@free.fr> | 2009-04-04 20:09:40 +0100 |
commit | fcf7369327ce8a1362e49bb289b72dc832e78969 (patch) | |
tree | 068e27dfe1c5add6e9719896a2d8d201041795b7 | |
parent | 9ae63c46d0228999e6fc1f2343cfdca46f3a6815 (diff) | |
download | xine-lib-fcf7369327ce8a1362e49bb289b72dc832e78969.tar.gz xine-lib-fcf7369327ce8a1362e49bb289b72dc832e78969.tar.bz2 |
Pts fix (match libmpeg2).
-rw-r--r-- | src/libvdpau/vdpau_mpeg12.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libvdpau/vdpau_mpeg12.c b/src/libvdpau/vdpau_mpeg12.c index 8443403c7..89b42bb0e 100644 --- a/src/libvdpau/vdpau_mpeg12.c +++ b/src/libvdpau/vdpau_mpeg12.c @@ -704,7 +704,8 @@ static void decode_picture( vdpau_mpeg12_decoder_t *vd ) decode_render( vd, accel ); img->drawn = 0; - img->pts = (pic->vdp_infos.picture_coding_type==I_FRAME) ? seq->seq_pts : 0; + img->pts = seq->seq_pts; + seq->seq_pts = 0; /* reset */ img->bad_frame = 0; img->duration = seq->video_step; img->top_field_first = pic->vdp_infos.top_field_first; |