mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
module-combine-stream: make sure str is != NULL
This commit is contained in:
parent
026c55c0ce
commit
1985eb3549
1 changed files with 1 additions and 1 deletions
|
|
@ -576,7 +576,7 @@ static void registry_event_global(void *data, uint32_t id,
|
|||
if (impl->mode == MODE_CAPTURE || impl->mode == MODE_SINK)
|
||||
str = "[ { matches = [ { media.class = \"Audio/Sink\" } ] "
|
||||
" actions = { create-stream = {} } } ]";
|
||||
else if (impl->mode == MODE_PLAYBACK || impl->mode == MODE_SOURCE)
|
||||
else
|
||||
str = "[ { matches = [ { media.class = \"Audio/Source\" } ] "
|
||||
" actions = { create-stream = {} } } ]";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue