diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libvdpau/vdpau_h264.c | 3 | ||||
-rw-r--r-- | src/video_out/video_out_vdpau.c | 2 |
2 files changed, 4 insertions, 1 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; + } /* diff --git a/src/video_out/video_out_vdpau.c b/src/video_out/video_out_vdpau.c index 3fb4d870f..bfd4531c9 100644 --- a/src/video_out/video_out_vdpau.c +++ b/src/video_out/video_out_vdpau.c @@ -559,7 +559,7 @@ static void vdpau_update_frame_format (vo_driver_t *this_gen, vo_frame_t *frame_ vdpau_frame_field ((vo_frame_t *)frame, flags); } - printf("vo_vdpau: allocated_surfaces=%d\n", this->allocated_surfaces ); + //printf("vo_vdpau: allocated_surfaces=%d\n", this->allocated_surfaces ); frame->ratio = ratio; } |