1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-29 19:22:48 +00:00

vo: fix no-audio mode with interpolation enabled/display-sync disabled

Commit acd5816a broke this. It was stopping playback occasionally.
Another case where the non-display-sync interpolation mode
(in->vsync_timed==true) is causing a lot of subtle issues and will be
removed soon.
This commit is contained in:
wm4 2015-11-01 14:19:22 +01:00
parent cdeb0e4c72
commit 8581835161

View File

@ -618,7 +618,7 @@ static bool render_frame(struct vo *vo)
in->current_frame = in->frame_queued;
in->frame_queued = NULL;
} else if (in->paused || !in->current_frame || !in->hasframe ||
in->current_frame->num_vsyncs < 1 ||
(!in->vsync_timed && in->current_frame->num_vsyncs < 1) ||
(!in->vsync_timed && !in->current_frame->display_synced))
{
goto done;