summaryrefslogtreecommitdiffstats
path: root/video/out/gpu
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gpu')
-rw-r--r--video/out/gpu/libmpv_gpu.c4
-rw-r--r--video/out/gpu/video.c2
-rw-r--r--video/out/gpu/video.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/video/out/gpu/libmpv_gpu.c b/video/out/gpu/libmpv_gpu.c
index 0c43a71c20..8cf3082380 100644
--- a/video/out/gpu/libmpv_gpu.c
+++ b/video/out/gpu/libmpv_gpu.c
@@ -192,11 +192,11 @@ static int render(struct render_backend *ctx, mpv_render_param *params,
}
static struct mp_image *get_image(struct render_backend *ctx, int imgfmt,
- int w, int h, int stride_align)
+ int w, int h, int stride_align, int flags)
{
struct priv *p = ctx->priv;
- return gl_video_get_image(p->renderer, imgfmt, w, h, stride_align);
+ return gl_video_get_image(p->renderer, imgfmt, w, h, stride_align, flags);
}
static void screenshot(struct render_backend *ctx, struct vo_frame *frame,
diff --git a/video/out/gpu/video.c b/video/out/gpu/video.c
index c9ab48d170..c04f5c57a4 100644
--- a/video/out/gpu/video.c
+++ b/video/out/gpu/video.c
@@ -4288,7 +4288,7 @@ static void gl_video_dr_free_buffer(void *opaque, uint8_t *data)
}
struct mp_image *gl_video_get_image(struct gl_video *p, int imgfmt, int w, int h,
- int stride_align)
+ int stride_align, int flags)
{
if (!gl_video_check_format(p, imgfmt))
return NULL;
diff --git a/video/out/gpu/video.h b/video/out/gpu/video.h
index 30abd972f9..b7f6e6b485 100644
--- a/video/out/gpu/video.h
+++ b/video/out/gpu/video.h
@@ -229,7 +229,7 @@ struct vo;
void gl_video_configure_queue(struct gl_video *p, struct vo *vo);
struct mp_image *gl_video_get_image(struct gl_video *p, int imgfmt, int w, int h,
- int stride_align);
+ int stride_align, int flags);
#endif