diff options
author | Dudemanguy <random342@airmail.cc> | 2023-09-20 13:18:26 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-09-21 14:08:52 +0000 |
commit | 69b7af3106a158e9fe4f985d19d57ea7ca51d046 (patch) | |
tree | c447aa08c8f53f5230ff8d1a6be70817b54df78c /video/mp_image.c | |
parent | d48e4eb1f63ca5690cb85440ddfa78899e610ab4 (diff) | |
download | mpv-69b7af3106a158e9fe4f985d19d57ea7ca51d046.tar.bz2 mpv-69b7af3106a158e9fe4f985d19d57ea7ca51d046.tar.xz |
mp_image: add force_window field
It's useful for some VOs (dmabuf-wayland) to know if the image params
are actually real or fake ones sent by the core for the purpose of
force_window.
Diffstat (limited to 'video/mp_image.c')
-rw-r--r-- | video/mp_image.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/mp_image.c b/video/mp_image.c index b12588e7c2..eb7daf7925 100644 --- a/video/mp_image.c +++ b/video/mp_image.c @@ -835,6 +835,7 @@ bool mp_image_params_equal(const struct mp_image_params *p1, p1->hw_subfmt == p2->hw_subfmt && p1->w == p2->w && p1->h == p2->h && p1->p_w == p2->p_w && p1->p_h == p2->p_h && + p1->force_window == p2->force_window && mp_colorspace_equal(p1->color, p2->color) && p1->chroma_location == p2->chroma_location && p1->rotate == p2->rotate && |