Add properties to osx display capture

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
This commit is contained in:
Palana
2014-03-23 21:05:43 +01:00
parent 35d7d4ffb5
commit 7707773f7c
2 changed files with 227 additions and 139 deletions

View File

@@ -7,7 +7,7 @@ extern struct obs_source_info test_sinewave;
extern struct obs_source_info test_filter;
#ifdef __APPLE__
extern struct obs_source_info osx_desktop;
extern struct obs_source_info display_capture_info;
#endif
bool obs_module_load(uint32_t libobs_version)
@@ -17,7 +17,7 @@ bool obs_module_load(uint32_t libobs_version)
obs_register_source(&test_filter);
#ifdef __APPLE__
obs_register_source(&osx_desktop);
obs_register_source(&display_capture_info);
#endif
UNUSED_PARAMETER(libobs_version);