mirror of
https://github.com/mpv-player/mpv
synced 2025-01-09 01:36:25 +01:00
configure: fix disabling of (x)mga without swscale internals
The _mga/_xmga variables weren't changed to "no", causing a build failure if mga/xmga support would have been otherwise enabled but was only switched off because of the swscale test.
This commit is contained in:
parent
6d6e030a79
commit
2b252e9acf
4
configure
vendored
4
configure
vendored
@ -7121,6 +7121,7 @@ if test "$_mga" = yes ; then
|
||||
vomodules="mga $vomodules"
|
||||
else
|
||||
res_comment="libswscale internal headers are required by mga, sorry"
|
||||
_mga=no
|
||||
def_mga='#undef CONFIG_MGA'
|
||||
novomodules="mga $novomodules"
|
||||
fi
|
||||
@ -7141,7 +7142,8 @@ if test "$_xmga" = yes ; then
|
||||
def_xmga='#define CONFIG_XMGA 1'
|
||||
vomodules="xmga $vomodules"
|
||||
else
|
||||
res_comment="libswscale internal headers are required by mga, sorry"
|
||||
res_comment="libswscale internal headers are required by xmga, sorry"
|
||||
_xmga=no
|
||||
def_xmga='#undef CONFIG_XMGA'
|
||||
novomodules="xmga $novomodules"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user