summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-12 22:15:04 +0200
committerwm4 <wm4@nowhere>2015-05-12 22:15:04 +0200
commitaf157db7e5803fbe8b323ba2e9671e65c8fd6c2c (patch)
tree490236c8ec06ef19d763b52cca51e251f8f5f293
parent92b9d75d7256be71d8c8b18438af9494b78f0e96 (diff)
downloadmpv-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.
-rw-r--r--video/out/vo.c2
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,