The main module code was originally all packed in to the win-dshow.cpp file, which isn't exactly ideal or clean if one wants to add other things to the module as a whole.
12 lines
204 B
C++
12 lines
204 B
C++
#include <obs-module.h>
|
|
|
|
OBS_DECLARE_MODULE()
|
|
OBS_MODULE_USE_DEFAULT_LOCALE("win-dshow", "en-US")
|
|
|
|
extern void RegisterDShowSource();
|
|
|
|
bool obs_module_load(void)
|
|
{
|
|
RegisterDShowSource();
|
|
return true;
|
|
}
|