From: Michael Olbrich <m.olbrich@pengutronix.de>
To: Bastian Krause <bst@pengutronix.de>
Cc: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] gst-plugins-good1: select SYSTEMD_UDEV_PERSISTENT_V4L for systemd/v4l2 use case
Date: Thu, 24 Mar 2022 16:13:09 +0100 [thread overview]
Message-ID: <YjyKhTA+8Y8thuqg@pengutronix.de> (raw)
In-Reply-To: <20220318131904.3018834-1-bst@pengutronix.de>
On Fri, Mar 18, 2022 at 02:19:04PM +0100, Bastian Krause wrote:
> Without SYSTEMD_UDEV_PERSISTENT_V4L v4l2deviceprovider (and
> gst-device-monitor-1.0) will not find any v4l2 devices.
>
> Signed-off-by: Bastian Krause <bst@pengutronix.de>
> ---
> 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..eb8820d11 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_SYSTEMD
> + select SYSTEMD_UDEV_PERSISTENT_V4L if GST_PLUGINS_GOOD1_V4L2 && GST_PLUGINS_GOOD1_SYSTEMD
Both should have the same dependencies. No need to select systemd if
GST_PLUGINS_GOOD1_V4L2 is not enabled. Also: This is only a runtime
dependency, right? So add '&& RUNTIME' as well.
Michael
> 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
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
prev parent reply other threads:[~2022-03-24 15:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-18 13:19 Bastian Krause
2022-03-24 15:13 ` Michael Olbrich [this message]
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=YjyKhTA+8Y8thuqg@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=bst@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/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