aboutsummaryrefslogtreecommitdiff
path: root/include/capture/nvfbc.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-07-04 01:35:03 +0200
committerdec05eba <dec05eba@protonmail.com>2024-07-04 01:35:03 +0200
commit62d61fda12e3774fee6b671e44fb89bd2ef8da8c (patch)
treed5050689876d9adbe51bdf137475b3c3bc332c63 /include/capture/nvfbc.h
parentea7b58d7f92b179a4c2717237422e1200b5be673 (diff)
Add support for software video encoding with '-encoder cpu' option, currently h264 only
Diffstat (limited to 'include/capture/nvfbc.h')
-rw-r--r--include/capture/nvfbc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/capture/nvfbc.h b/include/capture/nvfbc.h
index 36bc2b6..e24b712 100644
--- a/include/capture/nvfbc.h
+++ b/include/capture/nvfbc.h
@@ -15,6 +15,7 @@ typedef struct {
bool hdr;
gsr_color_range color_range;
bool record_cursor;
+ bool use_software_video_encoder;
} gsr_capture_nvfbc_params;
gsr_capture* gsr_capture_nvfbc_create(const gsr_capture_nvfbc_params *params);