forked from eden-emu/eden
Compare commits
3 commits
master
...
ffmpeg-and
Author | SHA1 | Date | |
---|---|---|---|
772db74bfc | |||
213a7acdd0 | |||
bbf40454ae |
3 changed files with 4 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -45,7 +45,7 @@ private:
|
|||
|
||||
NvdecCommon::NvdecRegisters regs{};
|
||||
std::unique_ptr<Decoder> decoder;
|
||||
bool wait_needed{false};
|
||||
bool wait_needed{true};
|
||||
};
|
||||
|
||||
} // namespace Host1x
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue