Share CUDA context between all nvenc encoder instances
This commit is contained in:
@@ -127,7 +127,11 @@ if (WIVRN_BUILD_SERVER)
|
||||
endif()
|
||||
|
||||
if(WIVRN_USE_NVENC)
|
||||
target_sources(wivrn-server PRIVATE encoder/video_encoder_nvenc.cpp)
|
||||
target_sources(
|
||||
wivrn-server
|
||||
PRIVATE encoder/video_encoder_nvenc.cpp
|
||||
encoder/video_encoder_nvenc_shared_state.cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
if(WIVRN_USE_VAAPI)
|
||||
|
||||
Reference in New Issue
Block a user