Skip to content

Commit

Permalink
Attempt decoding on cpu
Browse files Browse the repository at this point in the history
  • Loading branch information
balthasarschuess committed Dec 5, 2024
1 parent 9c25f94 commit d0bf8a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/decoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ bool Decoder::initDecoder(const std::string & encoding, const std::string & deco
throw(std::runtime_error("alloc context failed!"));
}
av_opt_set_int(codecContext_, "refcounted_frames", 1, 0);
const std::string hwAcc("cuda");
const std::string hwAcc("cpu");
enum AVHWDeviceType hwDevType = get_hw_type(hwAcc, logger_);
// default
hwPixFormat_ = AV_PIX_FMT_NONE;
Expand Down

0 comments on commit d0bf8a7

Please sign in to comment.