diff options
author | Dudemanguy <random342@airmail.cc> | 2023-08-02 18:27:28 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-08-05 14:01:02 +0000 |
commit | 59ac302dff06433c5fe46a3d3beeb63df18bea9e (patch) | |
tree | 44363c99779784ea66873ef4b707c6f46a386dcf /common/global.h | |
parent | 65a95a721ee23c45a7fedef5d2174b3f1ed13b6d (diff) | |
download | mpv-59ac302dff06433c5fe46a3d3beeb63df18bea9e.tar.bz2 mpv-59ac302dff06433c5fe46a3d3beeb63df18bea9e.tar.xz |
vo_gpu/vo_gpu_next: fix setting an empty dscale
The manual currently says that if dscale is unset, --scale will be
applied. However, this only works at init time. If you change the dscale
filter to be empty later, vo_gpu will segfault and vo_gpu_next will
throw an error and refuse the changes. That's because when the option is
unset at runtime, the value becomes "" not NULL and the vo's never
accounted for this. Fixes #12031.
Diffstat (limited to 'common/global.h')
0 files changed, 0 insertions, 0 deletions