mirror of https://github.com/mpv-player/mpv
playloop: don't refresh seek on external sub streams
External subtitles are always read as eager, so they do not need to be
changed on pause/unpause. Don't do the refresh seek since it will just
buffer forever. Fixes f40bbfec4f
.
This commit is contained in:
parent
f40bbfec4f
commit
f9234d890a
|
@ -185,7 +185,7 @@ void set_pause_state(struct MPContext *mpctx, bool user_pause)
|
|||
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)
|
||||
if (track && !track->is_external)
|
||||
demuxer_refresh_track(mpctx->demuxer, track->stream, pts, mpctx->paused);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue