mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-08 13:30:08 -05:00
context: avoid segfault when no fallback driver
In some cases, there might not be a fallback driver. Handle this without segfaulting.
This commit is contained in:
parent
98ac13a03e
commit
4df753d0d7
1 changed files with 1 additions and 1 deletions
|
|
@ -1327,11 +1327,11 @@ again:
|
|||
if ((t->want_driver && t->active && t->runnable) ||
|
||||
t->always_process) {
|
||||
driver = target;
|
||||
driver->runnable = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (driver != NULL) {
|
||||
driver->runnable = true;
|
||||
/* driver needed for this group */
|
||||
move_to_driver(context, &collect, driver);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue