1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 00:42:57 +00:00

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 2015-05-12 22:15:04 +02:00
parent 92b9d75d72
commit af157db7e5

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,