0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

player: remove internal vo-resize command again

Its only usecase was automated in the previous commit.
This commit is contained in:
sfan5 2018-01-02 21:20:06 +01:00 committed by Kevin Mitchell
parent 48943a73f6
commit 3cb616a286
4 changed files with 1 additions and 10 deletions

View File

@ -732,7 +732,7 @@ Input Commands that are Possibly Subject to Change
Load a script, similar to the ``--script`` option.
Undocumented commands: ``tv-last-channel`` (TV/DVB only),
``ao-reload``, ``vo-resize`` (experimental/internal).
``ao-reload`` (experimental/internal).
Hooks
~~~~~

View File

@ -191,7 +191,6 @@ const struct mp_cmd_def mp_cmds[] = {
{ MP_CMD_VF, "vf", { ARG_STRING, ARG_STRING } },
{ MP_CMD_VF_COMMAND, "vf-command", { ARG_STRING, ARG_STRING, ARG_STRING } },
{ MP_CMD_VO_RESIZE, "vo-resize", },
{ MP_CMD_SCRIPT_BINDING, "script-binding", { ARG_STRING },
.allow_auto_repeat = true, .on_updown = true},

View File

@ -99,7 +99,6 @@ enum mp_command_type {
/// Video filter commands
MP_CMD_VF,
MP_CMD_VF_COMMAND,
MP_CMD_VO_RESIZE,
/// Internal for Lua scripts
MP_CMD_SCRIPT_BINDING,

View File

@ -5434,13 +5434,6 @@ int run_command(struct MPContext *mpctx, struct mp_cmd *cmd, struct mpv_node *re
reload_audio_output(mpctx);
break;
case MP_CMD_VO_RESIZE: {
if (!mpctx->video_out)
return -1;
vo_control(mpctx->video_out, VOCTRL_EXTERNAL_RESIZE, NULL);
break;
}
case MP_CMD_AF:
return edit_filters_osd(mpctx, STREAM_AUDIO, cmd->args[0].v.s,
cmd->args[1].v.s, msg_osd);