diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-07-23 18:11:38 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-07-23 18:11:38 +0200 |
commit | 7d719a44c6ce76ecfc05287d0cbb2b36e84b4ca6 (patch) | |
tree | bcc1d7a857e6b9efad44cfed750ba46d5decc785 /src/capture/xcomposite.c | |
parent | 91485ba75d5a598eda5a041505c7c65648297e32 (diff) |
Fix hdr capture causing crash when in replay mode
Diffstat (limited to 'src/capture/xcomposite.c')
-rw-r--r-- | src/capture/xcomposite.c | 3 |
1 files changed, 1 insertions, 2 deletions
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); |