New upstream version 18.0.1+dfsg1
This commit is contained in:
parent
6efda2859e
commit
f2cf6cce50
1337 changed files with 41178 additions and 84670 deletions
|
|
@ -1,18 +1,41 @@
|
|||
#include <obs-module.h>
|
||||
#include "frontend-tools-config.h"
|
||||
|
||||
OBS_DECLARE_MODULE()
|
||||
OBS_MODULE_USE_DEFAULT_LOCALE("frontend-tools", "en-US")
|
||||
|
||||
#if defined(_WIN32) || defined(__APPLE__)
|
||||
void InitSceneSwitcher();
|
||||
void FreeSceneSwitcher();
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32) && BUILD_CAPTIONS
|
||||
void InitCaptions();
|
||||
void FreeCaptions();
|
||||
#endif
|
||||
|
||||
void InitOutputTimer();
|
||||
void FreeOutputTimer();
|
||||
|
||||
bool obs_module_load(void)
|
||||
{
|
||||
#if defined(_WIN32) || defined(__APPLE__)
|
||||
InitSceneSwitcher();
|
||||
#endif
|
||||
#if defined(_WIN32) && BUILD_CAPTIONS
|
||||
InitCaptions();
|
||||
#endif
|
||||
InitOutputTimer();
|
||||
return true;
|
||||
}
|
||||
|
||||
void obs_module_unload(void)
|
||||
{
|
||||
#if defined(_WIN32) || defined(__APPLE__)
|
||||
FreeSceneSwitcher();
|
||||
#endif
|
||||
#if defined(_WIN32) && BUILD_CAPTIONS
|
||||
FreeCaptions();
|
||||
#endif
|
||||
FreeOutputTimer();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue