From 3aa111e825bd51d7a09c140225802266ecee4f69 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 26 Jul 2026 20:03:04 -0500 Subject: [PATCH] Fix unused parameter warning on non-macOS platforms --- app/streaming/video/ffmpeg.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/streaming/video/ffmpeg.cpp b/app/streaming/video/ffmpeg.cpp index 1711586f..22a8ee3b 100644 --- a/app/streaming/video/ffmpeg.cpp +++ b/app/streaming/video/ffmpeg.cpp @@ -990,6 +990,8 @@ void FFmpegVideoDecoder::logVideoStats(VIDEO_STATS& stats, const char* title) IFFmpegRenderer* FFmpegVideoDecoder::createHwAccelRenderer(const AVCodecHWConfig* hwDecodeCfg, PDECODER_PARAMETERS params, int pass) { + Q_UNUSED(params); + if (!(hwDecodeCfg->methods & AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX)) { return nullptr; }