UI: Fix bugs with missing files refactor
With https://github.com/obsproject/obs-studio/pull/5148, it was brought up that the loading of the missing files was not thread safe, as the missing files were being loaded late in the loading process. This PR tries to fix that problem, while still simplifying the original missing files code.
This commit is contained in:
parent
8514c6c1e2
commit
aae15fc497
3 changed files with 32 additions and 32 deletions
|
|
@ -1765,7 +1765,8 @@ obs_data_array_t *OBSBasic::SaveTransitions()
|
|||
return transitions;
|
||||
}
|
||||
|
||||
void OBSBasic::LoadTransitions(obs_data_array_t *transitions)
|
||||
void OBSBasic::LoadTransitions(obs_data_array_t *transitions,
|
||||
obs_load_source_cb cb, void *private_data)
|
||||
{
|
||||
size_t count = obs_data_array_count(transitions);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue