Skip to content

Commit

Permalink
disable hw decoder by default
Browse files Browse the repository at this point in the history
  • Loading branch information
TalusL committed Jun 19, 2024
1 parent ee145ee commit b09a9be
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 = true;
bool isHwDecoderEnable = false;
enum AVPixelFormat hwPixFmt;
AVBufferRef *hwDeviceCtx = nullptr;
volatile bool dropCurrentVideoFrame = false;
Expand Down

0 comments on commit b09a9be

Please sign in to comment.