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.
This commit is contained in:
wm4 2015-05-12 22:15:04 +02:00
parent 92b9d75d72
commit af157db7e5
1 changed files with 1 additions and 1 deletions

View File

@ -661,7 +661,7 @@ static bool render_frame(struct vo *vo)
MP_STATS(vo, "start video"); MP_STATS(vo, "start video");
if (in->vsync_timed) { if (vo->driver->draw_image_timed) {
struct frame_timing t = (struct frame_timing) { struct frame_timing t = (struct frame_timing) {
.pts = pts, .pts = pts,
.next_vsync = next_vsync, .next_vsync = next_vsync,