aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/host1x/codecs/codec.cpp
diff options
context:
space:
mode:
authorboludoz <francomaro@gmail.com>2023-10-16 03:27:10 -0300
committerboludoz <francomaro@gmail.com>2023-10-16 03:27:10 -0300
commit9ced9068f577eb14465a201007e8dccd74ae500b (patch)
tree204a1ae39226d6853f4260607485d1acc21d0c0c /src/video_core/host1x/codecs/codec.cpp
parent9126e8abd1ba58f19b48459e1f770cb6dfa23ee4 (diff)
parentd420d11496cd5d71c7f4e4fa7b0eaf9c2f13dc80 (diff)
Merge branch 'new-shortcut' of https://github.com/boludoz/yuzu into new-shortcut
Diffstat (limited to 'src/video_core/host1x/codecs/codec.cpp')
-rw-r--r--src/video_core/host1x/codecs/codec.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/video_core/host1x/codecs/codec.cpp b/src/video_core/host1x/codecs/codec.cpp
index 8d7da50fc0..dbcf508e56 100644
--- a/src/video_core/host1x/codecs/codec.cpp
+++ b/src/video_core/host1x/codecs/codec.cpp
@@ -137,16 +137,6 @@ bool Codec::CreateGpuAvDevice() {
break;
}
if ((config->methods & HW_CONFIG_METHOD) != 0 && config->device_type == type) {
-#if defined(__unix__)
- // Some linux decoding backends are reported to crash with this config method
- // TODO(ameerj): Properly support this method
- if ((config->methods & AV_CODEC_HW_CONFIG_METHOD_HW_FRAMES_CTX) != 0) {
- // skip zero-copy decoders, we don't currently support them
- LOG_DEBUG(Service_NVDRV, "Skipping decoder {} with unsupported capability {}.",
- av_hwdevice_get_type_name(type), config->methods);
- continue;
- }
-#endif
LOG_INFO(Service_NVDRV, "Using {} GPU decoder", av_hwdevice_get_type_name(type));
av_codec_ctx->pix_fmt = config->pix_fmt;
return true;