From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 24 Mar 2022 16:52:18 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nXPl1-004met-9Q for lore@lore.pengutronix.de; Thu, 24 Mar 2022 16:52:18 +0100 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1nXPl4-0005zg-2I; Thu, 24 Mar 2022 16:52:18 +0100 Received: from dude04.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::ac]) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1nXPkR-0005zV-F3; Thu, 24 Mar 2022 16:51:39 +0100 From: Bastian Krause To: ptxdist@pengutronix.de Date: Thu, 24 Mar 2022 16:51:37 +0100 Message-Id: <20220324155137.4161708-1-bst@pengutronix.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [ptxdist] [PATCH v2] gst-plugins-good1: select SYSTEMD_UDEV_PERSISTENT_V4L for systemd/v4l2 use case X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Bastian Krause Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Without SYSTEMD_UDEV_PERSISTENT_V4L v4l2deviceprovider (and gst-device-monitor-1.0) will not find any v4l2 devices. Signed-off-by: Bastian Krause --- Changes since (implicit) v1: - select SYSTEMD only if GST_PLUGINS_GOOD1_V4L2 is enabled - add RUNTIME condition since these are runtime dependencies --- rules/gst-plugins-good1.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rules/gst-plugins-good1.in b/rules/gst-plugins-good1.in index aeac2cbc8..ab1d382ac 100644 --- a/rules/gst-plugins-good1.in +++ b/rules/gst-plugins-good1.in @@ -27,6 +27,8 @@ menuconfig GST_PLUGINS_GOOD1 select QT5_MODULE_QTDECLARATIVE if GST_PLUGINS_GOOD1_QT5 select LIBSHOUT if GST_PLUGINS_GOOD1_SHOUT2 select LIBSOUP if GST_PLUGINS_GOOD1_SOUP + select SYSTEMD if GST_PLUGINS_GOOD1_V4L2 && GST_PLUGINS_GOOD1_SYSTEMD && RUNTIME + select SYSTEMD_UDEV_PERSISTENT_V4L if GST_PLUGINS_GOOD1_V4L2 && GST_PLUGINS_GOOD1_SYSTEMD && RUNTIME select SPEEX if GST_PLUGINS_GOOD1_SPEEX select TWOLAME if GST_PLUGINS_GOOD1_TWOLAME select LIBGUDEV if GST_PLUGINS_GOOD1_V4L2 @@ -356,6 +358,10 @@ config GST_PLUGINS_GOOD1_SPEEX help Speex audio codec plugin +config GST_PLUGINS_GOOD1_SYSTEMD + bool + default INITMETHOD_SYSTEMD + config GST_PLUGINS_GOOD1_TAGLIB bool # needs libtag -- 2.30.2 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de