Mercurial > mplayer.hg
diff mplayer.c @ 6888:2dde1a1bc03a
Add the input command "change_rectangle" to control the rectangle
plugin boundaries.
author | kmkaplan |
---|---|
date | Sun, 04 Aug 2002 02:22:27 +0000 |
parents | 88953ff93743 |
children | c2d4100c964e |
line wrap: on
line diff
--- a/mplayer.c Sun Aug 04 02:21:50 2002 +0000 +++ b/mplayer.c Sun Aug 04 02:22:27 2002 +0000 @@ -2615,6 +2615,9 @@ case MP_CMD_SCREENSHOT : if(vo_config_count) video_out->control(VOCTRL_SCREENSHOT, NULL); break; + case MP_CMD_VF_CHANGE_RECTANGLE: + set_rectangle(sh_video, cmd->args[0].v.i, cmd->args[1].v.i); + break; #ifdef USE_DVDNAV case MP_CMD_DVDNAV_EVENT: { dvdnav_priv_t * dvdnav_priv = (dvdnav_priv_t*)(stream->priv);