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 <[email protected]>
> ---
>  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
> [email protected]
> To unsubscribe, send a mail with subject "unsubscribe" to 
> [email protected]
> 

-- 
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
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to