From: <olani@axis.com>
To: <openembedded-core@lists.openembedded.org>
Subject: [PATCH] gstreamer1.0-plugins-base: Set explicit OpenGL Meson selectors
Date: Thu, 3 Dec 2026 10:51:32 +0100 [thread overview]
Message-ID: <20261203095132.1758043-1-olani@axis.com> (raw)
From: Ola x Nilsson <olani@axis.com>
The x11 and opengl PACKAGECONFIGs pulls more or less the same
dependencies. When -Dgl_api, -Dgl_platform and -Dgl_winsys are left
unset, Meson may autodetect and enable OpenGL support even if only x11
PACKAGECONFIG is selected.
Pass explicit empty selector lists for GL API, platform and winsys
when none are configured, so Meson does not autodetect them.
This may disable GL integration in configurations where it was
previously enabled via autodetection.
AI-Generated: Uses GitHub Copilot
Signed-off-by: Ola x Nilsson <olani@axis.com>
---
.../gstreamer/gstreamer1.0-plugins-base_1.28.9.bb | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.28.9.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.28.9.bb
index 0f7044b7ad..66d1c0c0ca 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.28.9.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.28.9.bb
@@ -88,9 +88,6 @@ def get_opengl_cmdline_list(switch_name, options, d):
for option in options.split():
if bb.utils.contains('PACKAGECONFIG', option, True, False, d):
selected_options += [option]
- if selected_options:
- return '-D' + switch_name + '=' + ','.join(selected_options)
- else:
- return ''
+ return '-D' + switch_name + '=' + ','.join(selected_options)
CVE_PRODUCT += "gst-plugins-base"
next reply other threads:[~2026-12-03 9:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 9:51 olani [this message]
2026-12-03 11:16 ` [OE-core] [PATCH] gstreamer1.0-plugins-base: Set explicit OpenGL Meson selectors Ola x Nilsson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261203095132.1758043-1-olani@axis.com \
--to=olani@axis.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox