mirror of https://github.com/mpv-player/mpv
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:
parent
37ad3e79dd
commit
e34c02981f
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue