]> code.ossystems Code Review - meta-freescale.git/commitdiff
gstreamer1.0-plugins-imx: Change EGL platform preference order
authorOtavio Salvador <otavio@ossystems.com.br>
Thu, 1 Sep 2016 21:13:25 +0000 (18:13 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 8 Sep 2016 14:24:25 +0000 (11:24 -0300)
The i.MX BSP now defaults for XWayland when both X11 and Wayland
support is available, so we ought to use the Wayland backend for this
case as well.

Change-Id: Iab93cebea5cbd9796aaf9903e25be2686ce653c4
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.12.2.bb

index 3ac54f27d3e5bd19980c38f1a0c767a3701df84b..5462159159451a2595e07b96dee178ff9e700de4 100644 (file)
@@ -24,11 +24,11 @@ inherit waf
 do_compile[depends] += "virtual/kernel:do_shared_workdir"
 
 # configure the eglvivsink element to use the appropriate EGL platform code
-# X11 if x11 is present in DISTRO_FEATURES
-# Wayland if x11 is not present in DISTRO_FEATURES, but wayland is
+# Wayland if 'wayland' is present in DISTRO_FEATURES, if not,
+# X11 if x11 is present in DISTRO_FEATURES,
 # Framebuffer otherwise
-EGLVIVSINK_PLATFORM = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', \
-                          bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \
+EGLVIVSINK_PLATFORM = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \
+                          bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', \
                           'fb', d),d)}"
 
 EGL_PLATFORM_CONF = "--egl-platform=${EGLVIVSINK_PLATFORM}"