aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/host1x/ffmpeg.cpp
diff options
context:
space:
mode:
authorDjihad Mahboubi <76681596+Djihads80@users.noreply.github.com>2026-11-01 17:25:14 +0100
committerGitHub <noreply@github.com>2026-11-01 17:25:14 +0100
commit6957331b913bd50dfab106071e8c7ff4fa662599 (patch)
treed4e4aea57d2b0198009576b16aa25fb4394dc176 /src/video_core/host1x/ffmpeg.cpp
parentfce9c5fd25c66558eb8ed4e9e5ca9129589a5e7d (diff)
parent959973a76abaa5444b4b300c37b6d8245ac89396 (diff)
Merge pull request #218 from Djihads80/fix/nx2-video-av1
nx2: play AV1 movies (FFmpeg with dav1d on Windows and Linux x86_64)
Diffstat (limited to 'src/video_core/host1x/ffmpeg.cpp')
-rw-r--r--src/video_core/host1x/ffmpeg.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/host1x/ffmpeg.cpp b/src/video_core/host1x/ffmpeg.cpp
index 676e5820a5..1af8307adc 100644
--- a/src/video_core/host1x/ffmpeg.cpp
+++ b/src/video_core/host1x/ffmpeg.cpp
@@ -163,6 +163,8 @@ Decoder::Decoder(Tegra::Host1x::NvdecCommon::VideoCodec codec) {
return AV_CODEC_ID_VP8;
case Tegra::Host1x::NvdecCommon::VideoCodec::VP9:
return AV_CODEC_ID_VP9;
+ case Tegra::Host1x::NvdecCommon::VideoCodec::AV1:
+ return AV_CODEC_ID_AV1;
default:
UNIMPLEMENTED_MSG("Unknown codec {}", codec);
return AV_CODEC_ID_NONE;