From cd7c7d0841e047db4a0369fe60fe2331dd59e39a Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 2 Sep 2016 16:11:26 +0200 Subject: command: remove vo-cmdline With the recent vo_opengl changes it doesn't do anything anymore. I don't think a deprecation period is necessary, because the command was always marked as experimental. --- player/command.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'player/command.c') diff --git a/player/command.c b/player/command.c index b2ca9c0360..942430f3ba 100644 --- a/player/command.c +++ b/player/command.c @@ -5205,19 +5205,6 @@ int run_command(struct MPContext *mpctx, struct mp_cmd *cmd, struct mpv_node *re break; } - case MP_CMD_VO_CMDLINE: - if (mpctx->video_out) { - char *s = cmd->args[0].v.s; - MP_INFO(mpctx, "Setting vo cmd line to '%s'.\n", s); - if (vo_control(mpctx->video_out, VOCTRL_SET_COMMAND_LINE, s) > 0) { - set_osd_msg(mpctx, osdl, osd_duration, "vo='%s'", s); - } else { - set_osd_msg(mpctx, osdl, osd_duration, "Failed!"); - return -1; - } - } - break; - case MP_CMD_AO_RELOAD: reload_audio_output(mpctx); break; -- cgit v1.2.3