player: don't try updating subtitles while playback PTS doesn't progress

This code would just keep it busy while e.g. being paused. Even if it's
not paused, it couldn't help with anything since we obviously still lock
display to the externally updated PTS.
This commit is contained in:
wm4 2016-10-30 12:03:46 +01:00
parent 1afc0c8b55
commit 1ff6d8ae2e
1 changed files with 2 additions and 2 deletions

View File

@ -120,9 +120,9 @@ static bool update_subtitle(struct MPContext *mpctx, double video_pts,
osd_set_force_video_pts(mpctx->osd, video_pts);
osd_query_and_reset_want_redraw(mpctx->osd);
vo_redraw(mpctx->video_out);
// Force an arbitrary minimum FPS
mp_set_timeout(mpctx, 0.1);
}
// Force an arbitrary minimum FPS
mp_set_timeout(mpctx, 0.1);
}
return true;