From ebf20dd1081b2b40388cff2ee8f36e22c28e86c5 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Wed, 5 Jan 2022 19:31:47 +1100 Subject: [PATCH] [host] nvfbc: fix failure to startup --- host/platform/Windows/capture/NVFBC/src/nvfbc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/host/platform/Windows/capture/NVFBC/src/nvfbc.c b/host/platform/Windows/capture/NVFBC/src/nvfbc.c index f285ac29..7037e443 100644 --- a/host/platform/Windows/capture/NVFBC/src/nvfbc.c +++ b/host/platform/Windows/capture/NVFBC/src/nvfbc.c @@ -171,8 +171,6 @@ static bool nvfbc_create( static bool nvfbc_init(void) { - this->stop = false; - int bufferLen = GetEnvironmentVariable("NVFBC_PRIV_DATA", NULL, 0); uint8_t * privData = NULL; int privDataLen = 0; @@ -256,6 +254,7 @@ static bool nvfbc_init(void) } ++this->formatVer; + this->stop = true; return true; }