diff options
author | Uoti Urpala <uau@mplayer2.org> | 2011-10-25 07:05:47 +0300 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-10-25 07:05:47 +0300 |
commit | 8b5efd6455370c02211f9fec2a3dbb74f5d0fcbc (patch) | |
tree | 4a8222fbf5ed2c8e7b7766435820183ff641c97d /command.c | |
parent | b200583403219136363b755afab2b05c0937a928 (diff) | |
download | mpv-8b5efd6455370c02211f9fec2a3dbb74f5d0fcbc.tar.bz2 mpv-8b5efd6455370c02211f9fec2a3dbb74f5d0fcbc.tar.xz |
libmenu: remove OSD menu functionality (--menu)
Something like the OSD menu functionality could be useful. However the
current implementation has several problems and would require a
relatively large amount of work to get into good shape. As far as I
know there are few users of the existing functionality. Nobody is
working on the existing code and keeping it compiling at all while
changing other code would require extra work. So delete the menu code
and some related code elsewhere that's used by nothing else.
Diffstat (limited to 'command.c')
-rw-r--r-- | command.c | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -66,14 +66,11 @@ #endif #include "stream/stream_dvdnav.h" #include "m_struct.h" -#include "libmenu/menu.h" #include "mp_core.h" #include "mp_fifo.h" #include "libavutil/avstring.h" -extern int use_menu; - static void rescale_input_coordinates(struct MPContext *mpctx, int ix, int iy, double *dx, double *dy) { @@ -2979,10 +2976,6 @@ void run_command(MPContext *mpctx, mp_cmd_t *cmd) add_step_frame(mpctx); break; - case MP_CMD_FILE_FILTER: - file_filter = cmd->args[0].v.i; - break; - case MP_CMD_QUIT: exit_player_with_rc(mpctx, EXIT_QUIT, (cmd->nargs > 0) ? cmd->args[0].v.i : 0); @@ -3557,10 +3550,6 @@ void run_command(MPContext *mpctx, mp_cmd_t *cmd) "Selected button number %d", button); } #endif -#ifdef CONFIG_MENU - if (use_menu && dx >= 0.0 && dy >= 0.0) - menu_update_mouse_pos(dx, dy); -#endif break; } |