summaryrefslogtreecommitdiffstats
path: root/video/out/gpu/video.c
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2023-01-21 15:21:49 +0100
committerNiklas Haas <github-daiK1o@haasn.dev>2023-01-23 14:13:34 +0100
commitf8c17f55f975ea3b46ba7cea299f1a8e5d980b4c (patch)
treedf52790475745d55a778f9df11dddf096c452229 /video/out/gpu/video.c
parent8eb7a00fa1f091e1766997f3d972d6c5fe9ac018 (diff)
downloadmpv-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/gpu/video.c')
-rw-r--r--video/out/gpu/video.c2
1 files changed, 1 insertions, 1 deletions
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;