Skip to contentSkip to conversation

gstreamer1.0-plugins-good: disable gtk plugin

PATCH New Anuj Mittal 1 participant 1 message Jul 13, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gstreamer1.0-plugins-good: disable gtk plugin

gtk-play example assumes that GTK's GL support always works if it is compiled in and first tries to use gtkglsink element which leads to problems if there are errors while instantiating GL context at a much later stage. This failure isn't detected and there is no fallback at this point.

gtkglsink works on wayland though using poky defaults with gtk+3 since the gdk backend does support egl with wayland but it doesn't with x11.

Disable the gtk plugin to ensure gtk-play just moves on when gtkglsink isn't present. This was the default when gtk was part of -plugins-bad before upgrade to 1.14.0.

Fixes [YOCTO #12832]

---
 .../gstreamer/gstreamer1.0-plugins-good_1.14.1.bb                | 1 -
 1 file changed, 1 deletion(-)
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.14.1.bb +0 -1
index 36eb3107ae..673bf10918 100644
@@ -27,7 +27,6 @@ inherit gettext
 PACKAGECONFIG ??= " \
     ${GSTREAMER_ORC} \
     ${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio x11', d)} \
-    ${@bb.utils.contains_any('DISTRO_FEATURES', d.getVar('GTK3DISTROFEATURES'), 'gtk', '', d)} \
     cairo flac gdk-pixbuf gudev jpeg libpng soup speex taglib v4l2 bz2 zlib mpg123 lame \
 "
 
Signature · 1 line
2.17.1