mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-09 13:30:06 -05:00
stream: set node name to stream name
This commit is contained in:
parent
3cdd52832e
commit
dd28116f12
1 changed files with 2 additions and 2 deletions
|
|
@ -784,7 +784,7 @@ static int handle_connect(struct pw_stream *stream)
|
||||||
struct stream *impl = SPA_CONTAINER_OF(stream, struct stream, this);
|
struct stream *impl = SPA_CONTAINER_OF(stream, struct stream, this);
|
||||||
|
|
||||||
pw_log_debug("stream %p: creating node", stream);
|
pw_log_debug("stream %p: creating node", stream);
|
||||||
impl->node = pw_node_new(impl->core, "PipeWire-stream",
|
impl->node = pw_node_new(impl->core, stream->name,
|
||||||
pw_properties_copy(stream->properties), 0);
|
pw_properties_copy(stream->properties), 0);
|
||||||
impl->impl_node = impl_node;
|
impl->impl_node = impl_node;
|
||||||
|
|
||||||
|
|
@ -855,7 +855,7 @@ struct pw_stream * pw_stream_new(struct pw_remote *remote, const char *name,
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
this = &impl->this;
|
this = &impl->this;
|
||||||
pw_log_debug("stream %p: new", impl);
|
pw_log_debug("stream %p: new \"%s\"", impl, name);
|
||||||
|
|
||||||
if (props == NULL) {
|
if (props == NULL) {
|
||||||
props = pw_properties_new("media.name", name, NULL);
|
props = pw_properties_new("media.name", name, NULL);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue