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 committed 2015-05-12 22:15:04 +02:00
1 parent 92b9d75d72
commit af157db7e5
1 file changed
+1 -1
+1 -1
View File
@@ -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,