diff options
author | wm4 <wm4@nowhere> | 2015-05-12 22:15:04 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-05-12 22:15:04 +0200 |
commit | af157db7e5803fbe8b323ba2e9671e65c8fd6c2c (patch) | |
tree | 490236c8ec06ef19d763b52cca51e251f8f5f293 /video/out/vo.c | |
parent | 92b9d75d7256be71d8c8b18438af9494b78f0e96 (diff) | |
download | mpv-af157db7e5803fbe8b323ba2e9671e65c8fd6c2c.tar.bz2 mpv-af157db7e5803fbe8b323ba2e9671e65c8fd6c2c.tar.xz |
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.
Diffstat (limited to 'video/out/vo.c')
-rw-r--r-- | video/out/vo.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |