diff options
Diffstat (limited to 'player/playloop.c')
-rw-r--r-- | player/playloop.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/player/playloop.c b/player/playloop.c index e7f0a0c3e4..b0df04f2d9 100644 --- a/player/playloop.c +++ b/player/playloop.c @@ -180,15 +180,6 @@ void set_pause_state(struct MPContext *mpctx, bool user_pause) } else { (void)get_relative_time(mpctx); // ignore time that passed during pause } - - if (mpctx->demuxer) { - double pts = get_current_time(mpctx); - for (int n = 0; n < num_ptracks[STREAM_SUB]; n++) { - struct track *track = mpctx->current_track[n][STREAM_SUB]; - if (track && !track->is_external) - demuxer_refresh_track(mpctx->demuxer, track->stream, pts, mpctx->paused); - } - } } update_core_idle_state(mpctx); |