summaryrefslogtreecommitdiff
path: root/src/libvdpau
diff options
context:
space:
mode:
authorChristophe Thommeret <hftom@free.fr>2008-12-22 12:28:07 +0000
committerChristophe Thommeret <hftom@free.fr>2008-12-22 12:28:07 +0000
commita2ddf2d655168b7dfffd72b98cc800ffe7ab0965 (patch)
tree26474d03e3d68d3b621794fc839eb988210ce1bd /src/libvdpau
parentfa9e2c2f46c18cf16a0f6acbc75e671876c29d51 (diff)
downloadxine-lib-a2ddf2d655168b7dfffd72b98cc800ffe7ab0965.tar.gz
xine-lib-a2ddf2d655168b7dfffd72b98cc800ffe7ab0965.tar.bz2
Clear PTS on reset; remove a printf.
Diffstat (limited to 'src/libvdpau')
-rw-r--r--src/libvdpau/vdpau_h264.c3
1 files changed, 3 insertions, 0 deletions
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;
+
}
/*