Reimplement monitor capture
- Implement windows monitor capture (code is so much cleaner than in OBS1). Will implement duplication capture later - Add GDI texture support to d3d11 graphics library - Fix precision issue with sleep timing, you have to call timeBeginPeriod otherwise windows sleep will be totally erratic.
This commit is contained in:
18
plugins/win-capture/CMakeLists.txt
Normal file
18
plugins/win-capture/CMakeLists.txt
Normal file
@@ -0,0 +1,18 @@
|
||||
project(win-capture)
|
||||
|
||||
set(win-capture_HEADERS
|
||||
dc-capture.h)
|
||||
|
||||
set(win-capture_SOURCES
|
||||
dc-capture.c
|
||||
monitor-capture.c
|
||||
plugin-main.c)
|
||||
|
||||
add_library(win-capture MODULE
|
||||
${win-capture_SOURCES}
|
||||
${win-capture_HEADERS})
|
||||
target_link_libraries(win-capture
|
||||
libobs)
|
||||
|
||||
install_obs_plugin(win-capture)
|
||||
install_obs_plugin_data(win-capture ../../build/data/obs-plugins/win-capture)
|
Reference in New Issue
Block a user