diff options
author | Niklas Haas <git@haasn.dev> | 2022-02-11 05:04:27 +0100 |
---|---|---|
committer | Niklas Haas <git@haasn.dev> | 2022-02-11 05:12:09 +0100 |
commit | ef83498aefb91168292439c88e01723880eb6707 (patch) | |
tree | 75b0ea1e192d4d5bfd0eee4984e162c5e8d18564 /video/hwdec.h | |
parent | 4629fe577fa2adf2267bbf12bad29293d9ad61b3 (diff) | |
download | mpv-ef83498aefb91168292439c88e01723880eb6707.tar.bz2 mpv-ef83498aefb91168292439c88e01723880eb6707.tar.xz |
vo_gpu_next: don't crash on negative plane strides
This is an annoying special case only really needed because of the
`vflip` filter. mpv handles this by directly adjusting the plane
transform. The libplacebo API, unfortunately, does not allow passing the
required information for this to work smoothly.
Long-term I plan on adding support for plane flipping in libplacebo
directly, but for the meantime, we will have to work-around it by moving
the flipping to the whole-image `crop` instead. Not an ideal solution
but better than crashing.
Fixes #9855
Diffstat (limited to 'video/hwdec.h')
0 files changed, 0 insertions, 0 deletions