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:
Clayton Groeneveld
2022-07-20 03:44:43 -05:00
committed by Matt Gajownik
parent 8514c6c1e2
commit aae15fc497
3 changed files with 32 additions and 32 deletions

View File

@@ -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);