From 6f2f97411201815baadb8a0b43837a2035898a9d Mon Sep 17 00:00:00 2001 From: Stephen Lawrence Date: Mon, 22 Feb 2016 15:11:05 +0000 Subject: gstreamer: Fix runtime CMA error The gstreamer bad wayland sink plugin is dependent on wayland-kms. Make this explicit by adding appropriate DEPENDS/RDEPENDS. Without it the wayland sink plugin can be built with the wrong configuration depending on build order. Incorrectly built the plugin can lead to gst-launch to report an runtime error stating there is insufficient CMA memory. --- .../gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-rcar-gen2/recipes-multimedia') diff --git a/meta-rcar-gen2/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend b/meta-rcar-gen2/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend index a881d76..83adc79 100644 --- a/meta-rcar-gen2/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend +++ b/meta-rcar-gen2/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend @@ -18,6 +18,8 @@ do_configure_prepend() { # for wayland PACKAGECONFIG_remove_rcar-gen2 = "${@'orc' if '1' in '${USE_GLES_WAYLAND}' else ''}" PACKAGECONFIG_append_rcar-gen2 = " faad ${@base_contains('USE_GLES_WAYLAND', '1', 'wayland', '', d)}" +DEPENDS += "wayland-kms" +RDEPENDS_${PN} = "libwayland-egl" # for lcb DEPENDS_append_silk = " ${@base_conditional('USE_MULTIMEDIA', '1', 'faac', '', d)}" -- cgit 1.2.3-korg