libobs: Don't check filter compatibility on not loaded sources
This commit is contained in:
parent
27a0d9e5b7
commit
6a567eded6
@ -2368,7 +2368,7 @@ void obs_source_filter_add(obs_source_t *source, obs_source_t *filter)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!filter_compatible(source, filter)) {
|
if (!source->owns_info_id && !filter_compatible(source, filter)) {
|
||||||
pthread_mutex_unlock(&source->filter_mutex);
|
pthread_mutex_unlock(&source->filter_mutex);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user