Skip to content

Commit b6e5e8e

Browse files
author
liangzhuohua
committed
enable hw decode
1 parent b09a9be commit b6e5e8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/player/ffmpegDecode.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ class FFmpegDecoder {
168168

169169
// 硬件解码
170170
enum AVHWDeviceType hwDecoderType;
171-
bool isHwDecoderEnable = false;
171+
bool isHwDecoderEnable = true;
172172
enum AVPixelFormat hwPixFmt;
173173
AVBufferRef *hwDeviceCtx = nullptr;
174174
volatile bool dropCurrentVideoFrame = false;

0 commit comments

Comments
 (0)