aboutsummaryrefslogtreecommitdiff
path: root/src/capture/portal.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/portal.c
parent91485ba75d5a598eda5a041505c7c65648297e32 (diff)
Fix hdr capture causing crash when in replay mode
Diffstat (limited to 'src/capture/portal.c')
-rw-r--r--src/capture/portal.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/capture/portal.c b/src/capture/portal.c
index 42f9800..092fd9f 100644
--- a/src/capture/portal.c
+++ b/src/capture/portal.c
@@ -290,8 +290,7 @@ static int max_int(int a, int b) {
return a > b ? a : b;
}
-static int gsr_capture_portal_capture(gsr_capture *cap, AVStream *video_stream, AVFrame *frame, gsr_color_conversion *color_conversion) {
- (void)video_stream;
+static int gsr_capture_portal_capture(gsr_capture *cap, AVFrame *frame, gsr_color_conversion *color_conversion) {
(void)frame;
(void)color_conversion;
gsr_capture_portal *self = cap->priv;