7707773f7c
Also add support for capturing displays that are not the main display as preparation for moving the code from test-plugins into a proper plugin in the future
26 lines
536 B
C
26 lines
536 B
C
#include <obs-module.h>
|
|
|
|
OBS_DECLARE_MODULE()
|
|
|
|
extern struct obs_source_info test_random;
|
|
extern struct obs_source_info test_sinewave;
|
|
extern struct obs_source_info test_filter;
|
|
|
|
#ifdef __APPLE__
|
|
extern struct obs_source_info display_capture_info;
|
|
#endif
|
|
|
|
bool obs_module_load(uint32_t libobs_version)
|
|
{
|
|
obs_register_source(&test_random);
|
|
obs_register_source(&test_sinewave);
|
|
obs_register_source(&test_filter);
|
|
|
|
#ifdef __APPLE__
|
|
obs_register_source(&display_capture_info);
|
|
#endif
|
|
|
|
UNUSED_PARAMETER(libobs_version);
|
|
return true;
|
|
}
|