aboutsummaryrefslogtreecommitdiff
path: root/include/NvFBCLibrary.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-09-29 17:34:32 +0200
committerdec05eba <dec05eba@protonmail.com>2022-09-29 17:34:32 +0200
commit6e407b0b625c8eeae7d6ac05486e127a2b091ad1 (patch)
tree8220fe3db59690af9902d1dfc07a1e9b9ba067e9 /include/NvFBCLibrary.hpp
parent1db22826831bf90f82422af5b5fa3d6caec32b77 (diff)
Use better name for quality options to clearify that medium is actually very high quality, because people dont understand that
Diffstat (limited to 'include/NvFBCLibrary.hpp')
-rw-r--r--include/NvFBCLibrary.hpp4
1 files changed, 2 insertions, 2 deletions
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
+};