mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-03-31 09:07:13 +09:00
unsetenv instead of setenv empty string
This commit is contained in:
@@ -1590,7 +1590,7 @@ int main(int argc, char **argv) {
|
||||
// Some people set this to nvidia (for nvdec) or vdpau (for nvidia vdpau), which breaks gpu screen recorder since
|
||||
// nvidia doesn't support vaapi and nvidia-vaapi-driver doesn't support encoding yet.
|
||||
// Let vaapi find the match vaapi driver instead of forcing a specific one.
|
||||
setenv("LIBVA_DRIVER_NAME", "", true);
|
||||
unsetenv("LIBVA_DRIVER_NAME");
|
||||
|
||||
if(argc <= 1)
|
||||
usage_full();
|
||||
|
||||
Reference in New Issue
Block a user