gst-plugins-base: meson: Fix the condition to skip theoradec test

Due to operator priority "not a and b" is interpreted "(not a) and b".

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6269>
This commit is contained in:
Xi Ruoyao 2024-03-05 18:37:36 +08:00 committed by GStreamer Marge Bot
parent 5d0e8e4dbd
commit c0fe3de2d7

View file

@ -74,7 +74,7 @@ if host_machine.system() != 'windows'
[ 'elements/multisocketsink.c', not core_conf.has('HAVE_SYS_SOCKET_H') or not core_conf.has('HAVE_UNISTD_H') ], [ 'elements/multisocketsink.c', not core_conf.has('HAVE_SYS_SOCKET_H') or not core_conf.has('HAVE_UNISTD_H') ],
[ 'elements/playbin-complex.c', not ogg_dep.found() ], [ 'elements/playbin-complex.c', not ogg_dep.found() ],
[ 'elements/textoverlay.c', not pango_dep.found() ], [ 'elements/textoverlay.c', not pango_dep.found() ],
[ 'elements/theoradec.c', not ogg_dep.found() and theoradec_dep.found() ], [ 'elements/theoradec.c', not ogg_dep.found() or not theoradec_dep.found() ],
[ 'elements/vorbisdec.c', not vorbis_dep.found(), [ vorbis_dep, vorbisenc_dep ] ], [ 'elements/vorbisdec.c', not vorbis_dep.found(), [ vorbis_dep, vorbisenc_dep ] ],
[ 'elements/vorbistag.c', not vorbisenc_dep.found(), [ vorbis_dep, vorbisenc_dep ] ], [ 'elements/vorbistag.c', not vorbisenc_dep.found(), [ vorbis_dep, vorbisenc_dep ] ],
[ 'pipelines/oggmux.c', not ogg_dep.found(), [ ogg_dep, ] ], [ 'pipelines/oggmux.c', not ogg_dep.found(), [ ogg_dep, ] ],