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.

(cherry picked from commit af157db7e5)
This commit is contained in:
wm4 2015-05-12 22:15:04 +02:00 committed by Diogo Franco (Kovensky)
parent 37ad3e79dd
commit e34c02981f
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");
if (in->vsync_timed) {
if (vo->driver->draw_image_timed) {
struct frame_timing t = (struct frame_timing) {
.pts = pts,
.next_vsync = next_vsync,