diff options
author | wm4 <wm4@nowhere> | 2013-09-30 22:27:37 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-10-05 22:46:55 +0200 |
commit | ae9a3e33aafaa0d708d54e2c42a563e45dadb0f7 (patch) | |
tree | dcdd7a4ee2e1b6456c69b02a90a15fad410fbff3 /mpvcore/mplayer.c | |
parent | fd49edccf811de0d6c61f30d8b2b524f8df93b36 (diff) | |
download | mpv-ae9a3e33aafaa0d708d54e2c42a563e45dadb0f7.tar.bz2 mpv-ae9a3e33aafaa0d708d54e2c42a563e45dadb0f7.tar.xz |
command: add commands for displaying overlays
Requested by github issue #255.
Does not work where mmap is not available (i.e. Windows).
Diffstat (limited to 'mpvcore/mplayer.c')
-rw-r--r-- | mpvcore/mplayer.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |