summaryrefslogtreecommitdiffstats
path: root/video/out/libmpv.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/libmpv.h')
-rw-r--r--video/out/libmpv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/libmpv.h b/video/out/libmpv.h
index 4544a278db..dc9d523b23 100644
--- a/video/out/libmpv.h
+++ b/video/out/libmpv.h
@@ -52,6 +52,8 @@ struct render_backend_fns {
void (*reconfig)(struct render_backend *ctx, struct mp_image_params *params);
// Like VOCTRL_RESET.
void (*reset)(struct render_backend *ctx);
+ void (*screenshot)(struct render_backend *ctx, struct vo_frame *frame,
+ struct voctrl_screenshot *args);
// Like vo_driver.get_image().
struct mp_image *(*get_image)(struct render_backend *ctx, int imgfmt,
int w, int h, int stride_align);