Compare commits

...
Sign in to create a new pull request.

3 commits

3 changed files with 4 additions and 3 deletions

View file

@ -41,7 +41,7 @@ void Decoder::Decode() {
if (!frame.get()) {
LOG_ERROR(HW_GPU,
"Nvdec {} dailed to decode interlaced frame for top 0x{:X} bottom 0x{:X}", id,
"Nvdec {} failed to decode interlaced frame for top 0x{:X} bottom 0x{:X}", id,
luma_top, luma_bottom);
}

View file

@ -36,8 +36,9 @@ constexpr std::array PreferredGpuDecoders = {
AV_HWDEVICE_TYPE_CUDA,
AV_HWDEVICE_TYPE_VAAPI,
AV_HWDEVICE_TYPE_VDPAU,
#elif defined(__ANDROID__)
AV_HWDEVICE_TYPE_MEDIACODEC
#endif
AV_HWDEVICE_TYPE_VULKAN,
};
AVPixelFormat GetGpuFormat(AVCodecContext* codec_context, const AVPixelFormat* pix_fmts) {

View file

@ -45,7 +45,7 @@ private:
NvdecCommon::NvdecRegisters regs{};
std::unique_ptr<Decoder> decoder;
bool wait_needed{false};
bool wait_needed{true};
};
} // namespace Host1x