mirror of https://github.com/mpv-player/mpv
Remove last remains of long-gone VOCTRL_SCREENSHOT
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25243 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f3514ce516
commit
2f4b840f62
|
@ -2722,7 +2722,7 @@ int run_command(MPContext * mpctx, mp_cmd_t * cmd)
|
||||||
((vf_instance_t *) sh_video->vfilter)->
|
((vf_instance_t *) sh_video->vfilter)->
|
||||||
control(sh_video->vfilter, VFCTRL_SCREENSHOT,
|
control(sh_video->vfilter, VFCTRL_SCREENSHOT,
|
||||||
&cmd->args[0].v.i))
|
&cmd->args[0].v.i))
|
||||||
mpctx->video_out->control(VOCTRL_SCREENSHOT, NULL);
|
mp_msg(MSGT_CPLAYER, MSGL_INFO, "failed (forgot -vf screenshot?)\n");
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,6 @@
|
||||||
#define VOCTRL_GUI_NOWINDOW 19
|
#define VOCTRL_GUI_NOWINDOW 19
|
||||||
/* used to switch to fullscreen */
|
/* used to switch to fullscreen */
|
||||||
#define VOCTRL_FULLSCREEN 5
|
#define VOCTRL_FULLSCREEN 5
|
||||||
#define VOCTRL_SCREENSHOT 6
|
|
||||||
/* signal a device pause */
|
/* signal a device pause */
|
||||||
#define VOCTRL_PAUSE 7
|
#define VOCTRL_PAUSE 7
|
||||||
/* start/resume playback */
|
/* start/resume playback */
|
||||||
|
|
Loading…
Reference in New Issue