summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-10-16 01:01:27 +0200
committerwm4 <wm4@nowhere>2014-10-16 01:01:27 +0200
commit5a6a5695bbcedf402cc8b23d6a990c8bd3faa670 (patch)
tree45d54f9ed620d90e2e45605818df40882f4b62f0
parent8e4fa5fcd15ecba6a046aa71650bbfc759856fa8 (diff)
downloadmpv-5a6a5695bbcedf402cc8b23d6a990c8bd3faa670.tar.bz2
mpv-5a6a5695bbcedf402cc8b23d6a990c8bd3faa670.tar.xz
player: free subtitle renderer on exit
This was probably commented as an oversight. Since the subtitle renderer was uninitialized on reinitialization anyway, this had no negative consequences, except a memory on exit.
-rw-r--r--player/loadfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/loadfile.c b/player/loadfile.c
index 6d6de1676b..f448389754 100644
--- a/player/loadfile.c
+++ b/player/loadfile.c
@@ -1231,7 +1231,7 @@ terminate_playback:
uninit_audio_chain(mpctx);
uninit_video_chain(mpctx);
uninit_sub_all(mpctx);
- //uninit_sub_renderer(mpctx);
+ uninit_sub_renderer(mpctx);
uninit_demuxer(mpctx);
uninit_stream(mpctx);
if (!opts->fixed_vo)