1
mirror of https://github.com/mpv-player/mpv synced 2024-11-07 01:47:00 +01:00

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.
This commit is contained in:
wm4 2014-10-16 01:01:27 +02:00
parent 8e4fa5fcd1
commit 5a6a5695bb

View File

@ -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)