mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
examples: use PW_KEY_TARGET_OBJECT
In examples, tell people how to use target.object.
This commit is contained in:
parent
de65fd442f
commit
ca87d40448
16 changed files with 94 additions and 65 deletions
|
|
@ -472,7 +472,7 @@ static void make_node(struct data *data)
|
|||
|
||||
props = pw_properties_new(PW_KEY_NODE_AUTOCONNECT, "true", NULL);
|
||||
if (data->path)
|
||||
pw_properties_set(props, PW_KEY_NODE_TARGET, data->path);
|
||||
pw_properties_set(props, PW_KEY_TARGET_OBJECT, data->path);
|
||||
pw_properties_set(props, PW_KEY_MEDIA_CLASS, "Stream/Input/Video");
|
||||
pw_properties_set(props, PW_KEY_MEDIA_TYPE, "Video");
|
||||
pw_properties_set(props, PW_KEY_MEDIA_CATEGORY, "Capture");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue