diff options
author | wm4 <wm4@nowhere> | 2012-09-29 09:52:27 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-10-16 07:26:31 +0200 |
commit | ef43d7701d2ae26227fad403e48a03cf2aea0ab0 (patch) | |
tree | 2db1d25bfb4182426e63aaad374afa5d9e2b9ecd | |
parent | bef616ede902b2e75f4b3f75f64b68998f1fee48 (diff) | |
download | mpv-ef43d7701d2ae26227fad403e48a03cf2aea0ab0.tar.bz2 mpv-ef43d7701d2ae26227fad403e48a03cf2aea0ab0.tar.xz |
mplayer: reset subtitles handled by dec_sub.c on seek
This was somehow lost when merging this.
-rw-r--r-- | mplayer.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |