summaryrefslogtreecommitdiffstats
path: root/sub/sd_lavc.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-12-21 23:48:20 +0100
committerwm4 <wm4@nowhere>2014-12-21 23:48:20 +0100
commit49d01d81e0d6c15c9a73fb8420eaabbad78dc56e (patch)
treeb9e9a48d6846e8c3ea6a61c41c8f43a0e8b7dc26 /sub/sd_lavc.c
parentdc0b0cdeb094d132009c80fda5efa6dae1af5540 (diff)
downloadmpv-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/sd_lavc.c')
0 files changed, 0 insertions, 0 deletions