diff options
author | Niklas Haas <git@haasn.dev> | 2023-01-21 15:21:49 +0100 |
---|---|---|
committer | Niklas Haas <github-daiK1o@haasn.dev> | 2023-01-23 14:13:34 +0100 |
commit | f8c17f55f975ea3b46ba7cea299f1a8e5d980b4c (patch) | |
tree | df52790475745d55a778f9df11dddf096c452229 /video/out/vo_gpu.c | |
parent | 8eb7a00fa1f091e1766997f3d972d6c5fe9ac018 (diff) | |
download | mpv-f8c17f55f975ea3b46ba7cea299f1a8e5d980b4c.tar.bz2 mpv-f8c17f55f975ea3b46ba7cea299f1a8e5d980b4c.tar.xz |
vo: add `int flags` to the get_image signature
This is a huge disgusting mess to thread through everywhere. Maybe I'm
stupid for attempting to solve the problem this way.
Diffstat (limited to 'video/out/vo_gpu.c')
-rw-r--r-- | video/out/vo_gpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/vo_gpu.c b/video/out/vo_gpu.c index 404b7e77d7..db30d83017 100644 --- a/video/out/vo_gpu.c +++ b/video/out/vo_gpu.c @@ -265,11 +265,11 @@ static void wait_events(struct vo *vo, int64_t until_time_us) } static struct mp_image *get_image(struct vo *vo, int imgfmt, int w, int h, - int stride_align) + int stride_align, int flags) { struct gpu_priv *p = vo->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 uninit(struct vo *vo) |