aboutsummaryrefslogtreecommitdiff
path: root/include/NvFBCLibrary.hpp
diff options
context:
space:
mode:
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
+};