From ef43d7701d2ae26227fad403e48a03cf2aea0ab0 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 29 Sep 2012 09:52:27 +0200 Subject: mplayer: reset subtitles handled by dec_sub.c on seek This was somehow lost when merging this. --- mplayer.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mplayer.c') diff --git a/mplayer.c b/mplayer.c index 5c08cdf330..3d4e61c9e2 100644 --- a/mplayer.c +++ b/mplayer.c @@ -1758,6 +1758,8 @@ double playing_audio_pts(struct MPContext *mpctx) static void reset_subtitles(struct MPContext *mpctx) { + if (mpctx->sh_sub) + sub_reset(mpctx->sh_sub, mpctx->osd); sub_clear_text(&mpctx->subs, MP_NOPTS_VALUE); if (vo_sub) set_osd_subtitle(mpctx, NULL); -- cgit v1.2.3