diff options
author | wm4 <wm4@nowhere> | 2014-10-16 01:01:27 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-10-16 01:01:27 +0200 |
commit | 5a6a5695bbcedf402cc8b23d6a990c8bd3faa670 (patch) | |
tree | 45d54f9ed620d90e2e45605818df40882f4b62f0 /player/loadfile.c | |
parent | 8e4fa5fcd15ecba6a046aa71650bbfc759856fa8 (diff) | |
download | mpv-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.
Diffstat (limited to 'player/loadfile.c')
-rw-r--r-- | player/loadfile.c | 2 |
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) |