Merge branch 'spa-v4l2-log-fix' into 'master'

spa: v4l2: Add missing v4l2_log_topic_init() call to device/udev impl_init()

See merge request pipewire/pipewire!2117
This commit is contained in:
Hans de Goede 2025-10-27 18:41:05 +01:00
commit 1de07a6a31
2 changed files with 3 additions and 0 deletions

View file

@ -231,6 +231,7 @@ impl_init(const struct spa_handle_factory *factory,
handle->clear = impl_clear, this = (struct impl *) handle;
this->log = spa_support_find(support, n_support, SPA_TYPE_INTERFACE_Log);
v4l2_log_topic_init(this->log);
spa_hook_list_init(&this->hooks);

View file

@ -775,6 +775,8 @@ impl_init(const struct spa_handle_factory *factory,
#endif
this->log = spa_support_find(support, n_support, SPA_TYPE_INTERFACE_Log);
v4l2_log_topic_init(this->log);
this->main_loop = spa_support_find(support, n_support, SPA_TYPE_INTERFACE_Loop);
if (this->main_loop == NULL) {