diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-04-07 05:31:46 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-04-07 05:31:46 +0200 |
commit | 75ed160122bc923731ae1d005d789608a4cdb2fb (patch) | |
tree | 97a07ea8aaeb23cc8b2f94e11da7ebf703fbc3a3 /src/capture/nvfbc.c | |
parent | 10d7bf93e864fc6b3c83ad7a913ea05d39256c03 (diff) |
Implement kms vaapi capture
Diffstat (limited to 'src/capture/nvfbc.c')
-rw-r--r-- | src/capture/nvfbc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/capture/nvfbc.c b/src/capture/nvfbc.c index a7bb16a..c45712d 100644 --- a/src/capture/nvfbc.c +++ b/src/capture/nvfbc.c @@ -444,6 +444,7 @@ static void gsr_capture_nvfbc_destroy(gsr_capture *cap, AVCodecContext *video_co gsr_cuda_unload(&cap_nvfbc->cuda); dlclose(cap_nvfbc->library); free((void*)cap_nvfbc->params.display_to_capture); + cap_nvfbc->params.display_to_capture = NULL; free(cap->priv); cap->priv = NULL; } |