mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
context: report ENOENT when a spa lib is not found
This commit is contained in:
parent
ca4b549472
commit
378f655a3d
1 changed files with 1 additions and 1 deletions
|
|
@ -1117,9 +1117,9 @@ struct spa_handle *pw_context_load_spa_handle(struct pw_context *context,
|
|||
if (lib == NULL && info != NULL)
|
||||
lib = spa_dict_lookup(info, SPA_KEY_LIBRARY_NAME);
|
||||
if (lib == NULL) {
|
||||
errno = ENOENT;
|
||||
pw_log_warn(NAME" %p: no library for %s: %m",
|
||||
context, factory_name);
|
||||
errno = ENOENT;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue