From fc2d040b2248adaac816b999a90ad452ee1f2be6 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Fri, 9 Dec 2011 03:08:37 +0200 Subject: vo_vdpau: use new want_redraw mechanism in one more case --- libvo/vo_vdpau.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libvo/vo_vdpau.c b/libvo/vo_vdpau.c index 42200d8f5d..f95937c122 100644 --- a/libvo/vo_vdpau.c +++ b/libvo/vo_vdpau.c @@ -241,8 +241,6 @@ static uint64_t convert_to_vdptime(struct vo *vo, unsigned int t) return (int)(t - vc->last_sync_update) * 1000LL + vc->last_vdp_time; } -static void flip_page_timed(struct vo *vo, unsigned int pts_us, int duration); - static int render_video_to_output_surface(struct vo *vo, VdpOutputSurface output_surface, VdpRect *output_rect) @@ -1784,7 +1782,7 @@ static int control(struct vo *vo, uint32_t request, void *data) return VO_TRUE; case VOCTRL_PAUSE: if (vc->dropped_frame) - flip_page_timed(vo, 0, -1); + vo->want_redraw = true; return true; case VOCTRL_QUERY_FORMAT: return query_format(*(uint32_t *)data); -- cgit v1.2.3