win-dshow: Move module loading to separate file

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.
This commit is contained in:
jp9000 2014-12-19 07:53:15 -08:00
commit bbff0eeeb9
3 changed files with 14 additions and 6 deletions

View file

@ -0,0 +1,12 @@
#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;
}