libobs: Add post-load module callback
This allows the ability for certain types of modules (particularly scripting-related modules) to initialize extra data when all other modules have loaded. Because front-ends may wish to have custom handling for loading modules, the front-end must manually call obs_post_load_modules after it has completed loading all plug-in modules. Closes jp9000/obs-studio#965
This commit is contained in:
parent
c354551484
commit
4fd66d4d1e
5 changed files with 18 additions and 0 deletions
|
|
@ -1317,6 +1317,8 @@ void OBSBasic::OBSInit()
|
|||
obs_load_all_modules();
|
||||
blog(LOG_INFO, "---------------------------------");
|
||||
obs_log_loaded_modules();
|
||||
blog(LOG_INFO, "---------------------------------");
|
||||
obs_post_load_modules();
|
||||
|
||||
blog(LOG_INFO, STARTUP_SEPARATOR);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue