mirror of
https://github.com/mpv-player/mpv
synced 2025-03-08 23:27:33 +00:00
Screenshot on the fly
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4739 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
5ddd8e92a1
commit
340183b0e9
@ -27,6 +27,8 @@
|
|||||||
#define VOCTRL_GUISUPPORT 4
|
#define VOCTRL_GUISUPPORT 4
|
||||||
/* used to switch to fullscreen */
|
/* used to switch to fullscreen */
|
||||||
#define VOCTRL_FULLSCREEN 5
|
#define VOCTRL_FULLSCREEN 5
|
||||||
|
/* user wants to have screen shot. (currently without args)*/
|
||||||
|
#define VOCTRL_SCREENSHOT 6
|
||||||
|
|
||||||
#define VO_TRUE 1
|
#define VO_TRUE 1
|
||||||
#define VO_FALSE 0
|
#define VO_FALSE 0
|
||||||
|
@ -2197,6 +2197,13 @@ if(step_sec>0) {
|
|||||||
printf("ABS seek to %5.3f \n",rel_seek_secs);
|
printf("ABS seek to %5.3f \n",rel_seek_secs);
|
||||||
break;
|
break;
|
||||||
#else
|
#else
|
||||||
|
#ifndef USE_LIBVO2
|
||||||
|
/* User wants to have screen shot */
|
||||||
|
case 'S':
|
||||||
|
case 's':
|
||||||
|
video_out->control(VOCTRL_SCREENSHOT, NULL);
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
// Contrast:
|
// Contrast:
|
||||||
case '1':
|
case '1':
|
||||||
case '2':
|
case '2':
|
||||||
|
Loading…
Reference in New Issue
Block a user