diff options
author | wm4 <wm4@nowhere> | 2013-02-24 22:52:47 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-02-26 01:55:52 +0100 |
commit | 90425522091ecd8aa1e91868e519c3ac62dad4f0 (patch) | |
tree | 19e3173e34f197c293fea6843f7ffe3572e6cca3 /core/screenshot.h | |
parent | f47ead1509bd63785a0b6deb67e05e02b56fc474 (diff) |
screenshot: show a message on each screenshot taken
The message reads: "Screenshot: filename", where the filename is what
mpv passes to fopen(). It will also show error messages when saving the
screenshot fails.
Diffstat (limited to 'core/screenshot.h')
-rw-r--r-- | core/screenshot.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/screenshot.h b/core/screenshot.h index 266077a107..916a875505 100644 --- a/core/screenshot.h +++ b/core/screenshot.h @@ -30,7 +30,9 @@ void screenshot_init(struct MPContext *mpctx); // 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). -void screenshot_request(struct MPContext *mpctx, int mode, bool each_frame); +// osd: show status on OSD +void screenshot_request(struct MPContext *mpctx, int mode, bool each_frame, + bool osd); // Called by the playback core code when a new frame is displayed. void screenshot_flip(struct MPContext *mpctx); |