mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-10 22:05:06 +00:00
source-mirror: Add empty list entry to select no source
This commit is contained in:
parent
c5e02af178
commit
b2b3f5fde8
1 changed files with 1 additions and 0 deletions
|
@ -144,6 +144,7 @@ static bool UpdateSourceListCB(void* ptr, obs_source_t* src)
|
|||
static void UpdateSourceList(obs_property_t* p)
|
||||
{
|
||||
obs_property_list_clear(p);
|
||||
obs_property_list_add_string(p, "", "");
|
||||
obs_enum_sources(UpdateSourceListCB, p);
|
||||
#if LIBOBS_API_MAJOR_VER >= 23
|
||||
obs_enum_scenes(UpdateSourceListCB, p);
|
||||
|
|
Loading…
Reference in a new issue