From 48ce4ab7f9259977f426d52b51601a54dbe15465 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 20 Oct 2012 23:58:02 +0200 Subject: [PATCH] screenshot: change "screenshot" input command "screenshot" now maps to "screenshot subtitles" by default, instead of "screenshot video". Swap the argument order: the more useful argument should come first. Remove the compatibility aliases for numeric choices (e.g. "screenshot 1 0" won't work anymore). --- DOCS/man/en/changes.rst | 3 ++- DOCS/man/en/input.rst | 30 +++++++++++++++--------------- DOCS/man/en/mpv.rst | 5 +++-- etc/input.conf | 7 +++---- input/input.c | 8 ++++---- screenshot.c | 6 +++--- screenshot.h | 5 ++--- 7 files changed, 32 insertions(+), 32 deletions(-) diff --git a/DOCS/man/en/changes.rst b/DOCS/man/en/changes.rst index 402bdbd336..725385a2b1 100644 --- a/DOCS/man/en/changes.rst +++ b/DOCS/man/en/changes.rst @@ -52,7 +52,8 @@ General changes for mplayer2 to mpv * Improved OpenGL output (``vo_opengl``) * Make ``--softvol`` default (**mpv** is not a mixer control panel) * Improved support for .cue files -* Screenshot improvements (can save screenshots as JPG, configurable filenames) +* Screenshot improvements (can save screenshots as JPG, configurable filenames, + support not taking screenshots with or without subtitles) * Removal of teletext support * Replace image VOs (``vo_jpeg`` etc.) with ``vo_image`` * Remove ``vo_gif89a``, ``vo_md5sum``, ``vo_yuv4mpeg`` (the plan is to merge diff --git a/DOCS/man/en/input.rst b/DOCS/man/en/input.rst index 63593c53ca..18e5b824e1 100644 --- a/DOCS/man/en/input.rst +++ b/DOCS/man/en/input.rst @@ -87,31 +87,31 @@ cycle [up|down] speed_mult Multiply the ``speed`` property by the given value. -screenshot [single|each-frame] [video|window] +screenshot [subtitles|video|window] [single|each-frame] Take a screenshot. First argument: + (default) + Save the video image, in its original resolution, and with subtitles. + Some video outputs may still include the OSD in the output under certain + circumstances. +