summaryrefslogtreecommitdiffstats
path: root/screenshot.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-10-20 23:58:02 +0200
committerwm4 <wm4@nowhere>2012-10-24 21:56:34 +0200
commit48ce4ab7f9259977f426d52b51601a54dbe15465 (patch)
tree2dae5a400d4fbb7da58a2134c28529ac9f9aeb6e /screenshot.h
parent11ed093182f29c796ba6fd08f6c5c80e8fdb9349 (diff)
downloadmpv-48ce4ab7f9259977f426d52b51601a54dbe15465.tar.bz2
mpv-48ce4ab7f9259977f426d52b51601a54dbe15465.tar.xz
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).
Diffstat (limited to 'screenshot.h')
-rw-r--r--screenshot.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/screenshot.h b/screenshot.h
index 01dd372aa2..266077a107 100644
--- a/screenshot.h
+++ b/screenshot.h
@@ -27,11 +27,10 @@ struct MPContext;
void screenshot_init(struct MPContext *mpctx);
// Request a taking & saving a screenshot of the currently displayed frame.
+// mode: 0: -, 1: save the actual output window contents, 2: with subtitles.
// each_frame: If set, this toggles per-frame screenshots, exactly like the
// screenshot slave command (MP_CMD_SCREENSHOT).
-// mode: 0: -, 1: save the actual output window contents, 2: with subtitles.
-void screenshot_request(struct MPContext *mpctx, bool each_frame,
- int mode);
+void screenshot_request(struct MPContext *mpctx, int mode, bool each_frame);
// Called by the playback core code when a new frame is displayed.
void screenshot_flip(struct MPContext *mpctx);