media-session: log info when loading monitor fails

Log info in all monitor plugins instead of an error.
This commit is contained in:
Wim Taymans 2021-04-09 11:55:55 +02:00
parent 5d20f50df8
commit 59ed07864d
3 changed files with 3 additions and 1 deletions

View file

@ -550,6 +550,7 @@ int sm_v4l2_monitor_start(struct sm_media_session *sess)
impl->handle = pw_context_load_spa_handle(context, SPA_NAME_API_V4L2_ENUM_UDEV, NULL);
if (impl->handle == NULL) {
res = -errno;
pw_log_info("can't load %s: %m", SPA_NAME_API_V4L2_ENUM_UDEV);
goto out_free;
}