From 757f4a7c71a39c3b5c4cc7bc8bd4b0404ab139f3 Mon Sep 17 00:00:00 2001 From: TalusL Date: Tue, 25 Jun 2024 21:23:09 +0800 Subject: [PATCH] disable GPU decoding --- src/player/ffmpegDecode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/player/ffmpegDecode.h b/src/player/ffmpegDecode.h index abb39a1..4d3da38 100644 --- a/src/player/ffmpegDecode.h +++ b/src/player/ffmpegDecode.h @@ -168,7 +168,7 @@ class FFmpegDecoder { // 硬件解码 enum AVHWDeviceType hwDecoderType; - bool isHwDecoderEnable = true; + bool isHwDecoderEnable = false; enum AVPixelFormat hwPixFmt; AVBufferRef *hwDeviceCtx = nullptr; volatile bool dropCurrentVideoFrame = false;