From 7d719a44c6ce76ecfc05287d0cbb2b36e84b4ca6 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 23 Jul 2024 18:11:38 +0200 Subject: Fix hdr capture causing crash when in replay mode --- src/capture/xcomposite.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/capture/xcomposite.c') diff --git a/src/capture/xcomposite.c b/src/capture/xcomposite.c index 52afc20..7e78fb9 100644 --- a/src/capture/xcomposite.c +++ b/src/capture/xcomposite.c @@ -313,9 +313,8 @@ static bool gsr_capture_xcomposite_should_stop(gsr_capture *cap, bool *err) { return false; } -static int gsr_capture_xcomposite_capture(gsr_capture *cap, AVStream *video_stream, AVFrame *frame, gsr_color_conversion *color_conversion) { +static int gsr_capture_xcomposite_capture(gsr_capture *cap, AVFrame *frame, gsr_color_conversion *color_conversion) { gsr_capture_xcomposite *self = cap->priv; - (void)video_stream; (void)frame; //self->params.egl->glClearColor(0.0f, 0.0f, 0.0f, 1.0f); -- cgit v1.2.3