aboutsummaryrefslogtreecommitdiff
path: root/src/capture/nvfbc.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-07-23 18:11:38 +0200
committerdec05eba <dec05eba@protonmail.com>2024-07-23 18:11:38 +0200
commit7d719a44c6ce76ecfc05287d0cbb2b36e84b4ca6 (patch)
treebcc1d7a857e6b9efad44cfed750ba46d5decc785 /src/capture/nvfbc.c
parent91485ba75d5a598eda5a041505c7c65648297e32 (diff)
Fix hdr capture causing crash when in replay mode
Diffstat (limited to 'src/capture/nvfbc.c')
-rw-r--r--src/capture/nvfbc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/capture/nvfbc.c b/src/capture/nvfbc.c
index 4bf6186..97e0283 100644
--- a/src/capture/nvfbc.c
+++ b/src/capture/nvfbc.c
@@ -378,9 +378,8 @@ static int gsr_capture_nvfbc_start(gsr_capture *cap, AVCodecContext *video_codec
return -1;
}
-static int gsr_capture_nvfbc_capture(gsr_capture *cap, AVStream *video_stream, AVFrame *frame, gsr_color_conversion *color_conversion) {
+static int gsr_capture_nvfbc_capture(gsr_capture *cap, AVFrame *frame, gsr_color_conversion *color_conversion) {
gsr_capture_nvfbc *cap_nvfbc = cap->priv;
- (void)video_stream;
const double nvfbc_recreate_retry_time_seconds = 1.0;
if(cap_nvfbc->nvfbc_needs_recreate) {