diff options
author | Franco M <francomaro@gmail.com> | 2023-10-16 08:25:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-16 08:25:11 +0200 |
commit | b3b458edf929ebcd3a52fd0724250e5f1ab49957 (patch) | |
tree | ffc5d0c9bf75a6cfff1c8a47849a3ed6e4177605 /src/video_core | |
parent | Less code, simpler, better. (diff) | |
parent | Merge pull request #11786 from v1993/cuda-on-linux (diff) | |
download | yuzu-b3b458edf929ebcd3a52fd0724250e5f1ab49957.tar yuzu-b3b458edf929ebcd3a52fd0724250e5f1ab49957.tar.gz yuzu-b3b458edf929ebcd3a52fd0724250e5f1ab49957.tar.bz2 yuzu-b3b458edf929ebcd3a52fd0724250e5f1ab49957.tar.lz yuzu-b3b458edf929ebcd3a52fd0724250e5f1ab49957.tar.xz yuzu-b3b458edf929ebcd3a52fd0724250e5f1ab49957.tar.zst yuzu-b3b458edf929ebcd3a52fd0724250e5f1ab49957.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/host1x/codecs/codec.cpp | 10 |
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 8d7da50fc..dbcf508e5 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; |