From a2ddf2d655168b7dfffd72b98cc800ffe7ab0965 Mon Sep 17 00:00:00 2001 From: Christophe Thommeret Date: Mon, 22 Dec 2008 12:28:07 +0000 Subject: Clear PTS on reset; remove a printf. --- src/libvdpau/vdpau_h264.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/libvdpau') diff --git a/src/libvdpau/vdpau_h264.c b/src/libvdpau/vdpau_h264.c index ba458abb6..183ae2712 100644 --- a/src/libvdpau/vdpau_h264.c +++ b/src/libvdpau/vdpau_h264.c @@ -560,6 +560,9 @@ static void vdpau_h264_reset (video_decoder_t *this_gen) { static void vdpau_h264_discontinuity (video_decoder_t *this_gen) { vdpau_h264_decoder_t *this = (vdpau_h264_decoder_t *) this_gen; + this->last_pts = 0; + this->tmp_pts = 0; + } /* -- cgit v1.2.3