summaryrefslogtreecommitdiffstats
path: root/screenshot.h
diff options
context:
space:
mode:
Diffstat (limited to 'screenshot.h')
-rw-r--r--screenshot.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/screenshot.h b/screenshot.h
index c57778c0b3..6d205990f8 100644
--- a/screenshot.h
+++ b/screenshot.h
@@ -24,6 +24,9 @@
struct MPContext;
struct mp_image;
+// One time initialization at program start.
+void screenshot_init(struct MPContext *mpctx);
+
// Request a taking & saving a screenshot of the currently displayed frame.
// each_frame: If set, this toggles per-frame screenshots, exactly like the
// screenshot slave command (MP_CMD_SCREENSHOT).