core: add screenshot mode for actual VO window contents
commit3041ee8d6c97fbccfe891edad5b57143fb1c6c2a
authorwm4 <wm4@mplayer2.org>
Thu, 6 Oct 2011 18:46:01 +0000 (6 20:46 +0200)
committerUoti Urpala <uau@mplayer2.org>
Fri, 25 Nov 2011 21:56:28 +0000 (25 23:56 +0200)
tree6edbd27ec73ec92432c559459d20a8303109a648
parent01cf896a2f0d8be92c6d6633095fa2719a8c0e58
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).
DOCS/tech/slave.txt
command.c
input/input.c
libvo/video_out.h
screenshot.c
screenshot.h