From ae9a3e33aafaa0d708d54e2c42a563e45dadb0f7 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 30 Sep 2013 22:27:37 +0200 Subject: command: add commands for displaying overlays Requested by github issue #255. Does not work where mmap is not available (i.e. Windows). --- mpvcore/mplayer.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mpvcore/mplayer.c') diff --git a/mpvcore/mplayer.c b/mpvcore/mplayer.c index b82e6a9e5d..4d3f24d057 100644 --- a/mpvcore/mplayer.c +++ b/mpvcore/mplayer.c @@ -563,6 +563,8 @@ static MP_NORETURN void exit_player(struct MPContext *mpctx, cocoa_set_input_context(NULL); #endif + command_uninit(mpctx); + mp_input_uninit(mpctx->input); osd_free(mpctx->osd); -- cgit v1.2.3