Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC
Commits
7bd62e08
Commit
7bd62e08
authored
Jan 17, 2023
by
Johannes Kauffmann
Committed by
Steve Lhomme
Jan 24, 2023
Browse files
meson: opengl: use 'in' instead of contains()
This is simpler and shorter.
parent
088e5a6b
Pipeline
#306506
passed with stage
in 33 minutes and 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
modules/video_output/opengl/meson.build
View file @
7bd62e08
...
...
@@ -45,13 +45,13 @@ if opengles2_dep.found()
endif
# interop_sw
if
[
'darwin'
,
'android'
]
.
contains
(
host_system
)
or
opengl_dep
.
found
()
or
opengles2_dep
.
found
()
if
host_system
in
[
'darwin'
,
'android'
]
or
opengl_dep
.
found
()
or
opengles2_dep
.
found
()
interop_sw_deps
=
[
gl_common_dep
,
m_lib
]
interop_sw_cargs
=
[]
if
have_osx
and
opengl_dep
.
found
()
interop_sw_deps
+=
libvlc_opengl
elif
[
'darwin'
,
'android'
]
.
contains
(
host_system
)
and
opengles2_dep
.
found
()
elif
host_system
in
[
'darwin'
,
'android'
]
and
opengles2_dep
.
found
()
interop_sw_deps
+=
libvlc_opengles
endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment