diff options
Diffstat (limited to 'player')
-rw-r--r-- | player/loadfile.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/player/loadfile.c b/player/loadfile.c index af60aed3e0..8b35209d9f 100644 --- a/player/loadfile.c +++ b/player/loadfile.c @@ -336,6 +336,12 @@ bool timeline_switch_to_time(struct MPContext *mpctx, double pts) track->type, track->user_tid - 1); } + + if (track->type == STREAM_SUB && track->stream) { + struct dec_sub *dec = track->stream->sub->dec_sub; + if (dec) + sub_control(dec, SD_CTRL_CLEAR, NULL); + } } } |