diff options
| author | Takoroka <137927095+Takoroka@users.noreply.github.com> | 2026-10-31 02:33:36 -0400 |
|---|---|---|
| committer | Takoroka <137927095+Takoroka@users.noreply.github.com> | 2026-10-31 02:33:36 -0400 |
| commit | 6f33896d8cadb81b5c9dbb01826ad1be84162942 (patch) | |
| tree | 601f1b9c8def10ea7a7dc780ad8e1ac1ff2a0547 /src/video_core/host1x/codecs/codec.cpp | |
| parent | b40ad217ab829226841cb71f6e4c5cb05977a225 (diff) | |
nx2: decode AV1 movies
Fire Emblem: Fortune's Weave plays its movies as AV1 ("video/av01"). Map the codec to
AV_CODEC_ID_AV1; FFmpeg decodes it with libdav1d when the FFmpeg build has it.
Diffstat (limited to 'src/video_core/host1x/codecs/codec.cpp')
| -rw-r--r-- | src/video_core/host1x/codecs/codec.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/host1x/codecs/codec.cpp b/src/video_core/host1x/codecs/codec.cpp index 56332866e5..3cbef1d891 100644 --- a/src/video_core/host1x/codecs/codec.cpp +++ b/src/video_core/host1x/codecs/codec.cpp @@ -104,6 +104,8 @@ std::string_view Codec::GetCurrentCodecName() const { return "H265"; case Host1x::NvdecCommon::VideoCodec::VP9: return "VP9"; + case Host1x::NvdecCommon::VideoCodec::AV1: + return "AV1"; default: return "Unknown"; } |
