diff options
author | wm4 <wm4@mplayer2.org> | 2011-10-06 20:46:01 +0200 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-11-25 23:56:28 +0200 |
commit | 3041ee8d6c97fbccfe891edad5b57143fb1c6c2a (patch) | |
tree | 6edbd27ec73ec92432c559459d20a8303109a648 /command.c | |
parent | 01cf896a2f0d8be92c6d6633095fa2719a8c0e58 (diff) | |
download | mpv-3041ee8d6c97fbccfe891edad5b57143fb1c6c2a.tar.bz2 mpv-3041ee8d6c97fbccfe891edad5b57143fb1c6c2a.tar.xz |
core: add screenshot mode for actual VO window contents
The screenshot command normally converts the currently displayed video
frame to an image. Add support for an alternative screenshot mode
that is supposed to capture the real window contents. Such a
screenshot contains a possibly scaled version of the frame, the OSD,
and subtitles.
Add a default key binding Alt+s for taking screenshots in this mode.
This needs special VO support, and might not work with all VOs (this
commit does not yet contain an implementation for any VO, only the
infrastructure).
Diffstat (limited to 'command.c')
-rw-r--r-- | command.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3381,7 +3381,7 @@ void run_command(MPContext *mpctx, mp_cmd_t *cmd) break; case MP_CMD_SCREENSHOT: - screenshot_request(mpctx, cmd->args[0].v.i); + screenshot_request(mpctx, cmd->args[0].v.i, cmd->args[1].v.i); break; case MP_CMD_VF_CHANGE_RECTANGLE: |