From 4e4086934c11daab1ed2cfee6de1460a5df62b53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A1s=20P=C5=91cze?= Date: Fri, 25 Jul 2025 13:38:35 +0200 Subject: [PATCH] spa: examples: local-libcamera: do not set `SPA_PARAM_Props` Setting `SPA_PROP_device` has no effect, do not do it. --- spa/examples/local-libcamera.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/spa/examples/local-libcamera.c b/spa/examples/local-libcamera.c index d6e9f80d9..7e2157e9e 100644 --- a/spa/examples/local-libcamera.c +++ b/spa/examples/local-libcamera.c @@ -254,14 +254,6 @@ static int make_nodes(struct data *data, const char *device) spa_debug_pod(0, NULL, props); } - spa_pod_builder_init(&b, buffer, sizeof(buffer)); - props = spa_pod_builder_add_object(&b, - SPA_TYPE_OBJECT_Props, 0, - SPA_PROP_device, SPA_POD_String(device ? device : "/dev/media0")); - - if ((res = spa_node_set_param(data->source, SPA_PARAM_Props, 0, props)) < 0) - printf("got set_props error %d\n", res); - return res; }