diff --git a/app/streaming/video/ffmpeg.cpp b/app/streaming/video/ffmpeg.cpp index fc9606b8..9f990253 100644 --- a/app/streaming/video/ffmpeg.cpp +++ b/app/streaming/video/ffmpeg.cpp @@ -32,7 +32,8 @@ bool FFmpegVideoDecoder::isHardwareAccelerated() { - return m_HwDecodeCfg != nullptr; + return m_HwDecodeCfg != nullptr || + (m_VideoDecoderCtx->codec->capabilities & AV_CODEC_CAP_HARDWARE) != 0; } int FFmpegVideoDecoder::getDecoderCapabilities()