Skip to content

Commit

Permalink
enable hw decode
Browse files Browse the repository at this point in the history
  • Loading branch information
liangzhuohua committed Jun 21, 2024
1 parent b09a9be commit b6e5e8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/player/ffmpegDecode.h
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ class FFmpegDecoder {

// 硬件解码
enum AVHWDeviceType hwDecoderType;
bool isHwDecoderEnable = false;
bool isHwDecoderEnable = true;
enum AVPixelFormat hwPixFmt;
AVBufferRef *hwDeviceCtx = nullptr;
volatile bool dropCurrentVideoFrame = false;
Expand Down

0 comments on commit b6e5e8e

Please sign in to comment.