diff options
author | wm4 <wm4@nowhere> | 2014-12-21 23:48:20 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-12-21 23:48:20 +0100 |
commit | 49d01d81e0d6c15c9a73fb8420eaabbad78dc56e (patch) | |
tree | b9e9a48d6846e8c3ea6a61c41c8f43a0e8b7dc26 /sub/osd_libass.c | |
parent | dc0b0cdeb094d132009c80fda5efa6dae1af5540 (diff) | |
download | mpv-49d01d81e0d6c15c9a73fb8420eaabbad78dc56e.tar.bz2 mpv-49d01d81e0d6c15c9a73fb8420eaabbad78dc56e.tar.xz |
sub: reset sub decoder correctly when cycling subtitles
reset_subtitles() works in mpctx->d_sub[], which is set to NULL before
calling it from uninit_sub(). This fixes resetting the subtitle when
cycling subtitle tracks.
Actually, this was probably a feature, because it's annoying if
subtitles don't show up when cycling them. But it also can have
unintended consequences, so get rid of it.
Diffstat (limited to 'sub/osd_libass.c')
0 files changed, 0 insertions, 0 deletions