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:
parent
48943a73f6
commit
3cb616a286
@ -732,7 +732,7 @@ Input Commands that are Possibly Subject to Change
|
|||||||
Load a script, similar to the ``--script`` option.
|
Load a script, similar to the ``--script`` option.
|
||||||
|
|
||||||
Undocumented commands: ``tv-last-channel`` (TV/DVB only),
|
Undocumented commands: ``tv-last-channel`` (TV/DVB only),
|
||||||
``ao-reload``, ``vo-resize`` (experimental/internal).
|
``ao-reload`` (experimental/internal).
|
||||||
|
|
||||||
Hooks
|
Hooks
|
||||||
~~~~~
|
~~~~~
|
||||||
|
@ -191,7 +191,6 @@ const struct mp_cmd_def mp_cmds[] = {
|
|||||||
|
|
||||||
{ MP_CMD_VF, "vf", { ARG_STRING, ARG_STRING } },
|
{ MP_CMD_VF, "vf", { ARG_STRING, ARG_STRING } },
|
||||||
{ MP_CMD_VF_COMMAND, "vf-command", { ARG_STRING, 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 },
|
{ MP_CMD_SCRIPT_BINDING, "script-binding", { ARG_STRING },
|
||||||
.allow_auto_repeat = true, .on_updown = true},
|
.allow_auto_repeat = true, .on_updown = true},
|
||||||
|
@ -99,7 +99,6 @@ enum mp_command_type {
|
|||||||
/// Video filter commands
|
/// Video filter commands
|
||||||
MP_CMD_VF,
|
MP_CMD_VF,
|
||||||
MP_CMD_VF_COMMAND,
|
MP_CMD_VF_COMMAND,
|
||||||
MP_CMD_VO_RESIZE,
|
|
||||||
|
|
||||||
/// Internal for Lua scripts
|
/// Internal for Lua scripts
|
||||||
MP_CMD_SCRIPT_BINDING,
|
MP_CMD_SCRIPT_BINDING,
|
||||||
|
@ -5434,13 +5434,6 @@ int run_command(struct MPContext *mpctx, struct mp_cmd *cmd, struct mpv_node *re
|
|||||||
reload_audio_output(mpctx);
|
reload_audio_output(mpctx);
|
||||||
break;
|
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:
|
case MP_CMD_AF:
|
||||||
return edit_filters_osd(mpctx, STREAM_AUDIO, cmd->args[0].v.s,
|
return edit_filters_osd(mpctx, STREAM_AUDIO, cmd->args[0].v.s,
|
||||||
cmd->args[1].v.s, msg_osd);
|
cmd->args[1].v.s, msg_osd);
|
||||||
|
Loading…
Reference in New Issue
Block a user