obs-studio/plugins/win-capture/plugin-main.c

22 lines
455 B
C
Raw Normal View History

#include <obs-module.h>
OBS_DECLARE_MODULE()
2014-07-09 22:12:57 -07:00
OBS_MODULE_USE_DEFAULT_LOCALE("win-capture", "en-US")
extern struct obs_source_info monitor_capture_info;
extern struct obs_source_info window_capture_info;
bool obs_module_load(uint32_t libobs_ver)
{
obs_register_source(&monitor_capture_info);
obs_register_source(&window_capture_info);
UNUSED_PARAMETER(libobs_ver);
return true;
}
2014-07-09 22:12:57 -07:00
void obs_module_unload(void)
{
OBS_MODULE_FREE_DEFAULT_LOCALE();
}