diff options
author | wm4 <wm4@nowhere> | 2016-09-02 16:11:26 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-09-02 21:21:47 +0200 |
commit | cd7c7d0841e047db4a0369fe60fe2331dd59e39a (patch) | |
tree | bc3ce746d7ce05f383d6011fccae8d3cc0b407c7 /player/command.c | |
parent | b2c84a91b69e58df10d6ea966078a03b096712bd (diff) | |
download | mpv-cd7c7d0841e047db4a0369fe60fe2331dd59e39a.tar.bz2 mpv-cd7c7d0841e047db4a0369fe60fe2331dd59e39a.tar.xz |
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.
Diffstat (limited to 'player/command.c')
-rw-r--r-- | player/command.c | 13 |
1 files changed, 0 insertions, 13 deletions
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; |