From af157db7e5803fbe8b323ba2e9671e65c8fd6c2c Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 12 May 2015 22:15:04 +0200 Subject: vo: always call draw_image_timed() if available Gives the VOs more flexibility. gl_video.c already ignores the timing info if no interpolation is active, so this requires no further changes. --- video/out/vo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video/out/vo.c b/video/out/vo.c index be9f8a3088..9f6e44a744 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -661,7 +661,7 @@ static bool render_frame(struct vo *vo) MP_STATS(vo, "start video"); - if (in->vsync_timed) { + if (vo->driver->draw_image_timed) { struct frame_timing t = (struct frame_timing) { .pts = pts, .next_vsync = next_vsync, -- cgit v1.2.3