obs-studio/test/test-input/test-input.c
jp9000 966b943d5b Remove majority of warnings
There were a *lot* of warnings, managed to remove most of them.

Also, put warning flags before C_FLAGS and CXX_FLAGS, rather than after,
as -Wall -Wextra was overwriting flags that came before it.
2014-02-14 15:13:36 -07:00

26 lines
518 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 osx_desktop;
#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(&osx_desktop);
#endif
UNUSED_PARAMETER(libobs_version);
return true;
}