From 6e407b0b625c8eeae7d6ac05486e127a2b091ad1 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 29 Sep 2022 17:34:32 +0200 Subject: Use better name for quality options to clearify that medium is actually very high quality, because people dont understand that --- include/NvFBCLibrary.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/NvFBCLibrary.hpp b/include/NvFBCLibrary.hpp index b6d5d90..6ce6635 100644 --- a/include/NvFBCLibrary.hpp +++ b/include/NvFBCLibrary.hpp @@ -29,7 +29,7 @@ public: return true; dlerror(); // clear - void *lib = dlopen("libnvidia-fbc.so.1", RTLD_NOW); + void *lib = dlopen("libnvidia-fbc.so.1", RTLD_LAZY); if(!lib) { fprintf(stderr, "Error: failed to load libnvidia-fbc.so.1, error: %s\n", dlerror()); return false; @@ -241,4 +241,4 @@ private: NVFBC_API_FUNCTION_LIST nv_fbc_function_list; NVFBC_SESSION_HANDLE nv_fbc_handle; bool fbc_handle_created = false; -}; \ No newline at end of file +}; -- cgit v1.2.3