summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-12 22:15:04 +0200
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-05-15 10:30:32 +0900
commite34c02981fbaa1ee2249bc6e9016130f7772f14a (patch)
tree7b701d07136f26870fa625de40251a72b0a21de2
parent37ad3e79dd03cecc4be3a7341fdf69f96873d2eb (diff)
downloadmpv-e34c02981fbaa1ee2249bc6e9016130f7772f14a.tar.bz2
mpv-e34c02981fbaa1ee2249bc6e9016130f7772f14a.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. (cherry picked from commit af157db7e5803fbe8b323ba2e9671e65c8fd6c2c)
-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,