diff options
author | bunnei <bunneidev@gmail.com> | 2021-12-15 09:02:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-15 09:02:53 +0100 |
commit | 2f32133ad5e13503c56bc5c910407a27cc23908b (patch) | |
tree | 486a47945aa83e2842f54dce2e9f153d396a1886 /src/video_core/command_classes/codecs/codec.cpp | |
parent | Merge pull request #7565 from liushuyu/fix-linux-decoding (diff) | |
download | yuzu-2f32133ad5e13503c56bc5c910407a27cc23908b.tar yuzu-2f32133ad5e13503c56bc5c910407a27cc23908b.tar.gz yuzu-2f32133ad5e13503c56bc5c910407a27cc23908b.tar.bz2 yuzu-2f32133ad5e13503c56bc5c910407a27cc23908b.tar.lz yuzu-2f32133ad5e13503c56bc5c910407a27cc23908b.tar.xz yuzu-2f32133ad5e13503c56bc5c910407a27cc23908b.tar.zst yuzu-2f32133ad5e13503c56bc5c910407a27cc23908b.zip |
Diffstat (limited to 'src/video_core/command_classes/codecs/codec.cpp')
-rw-r--r-- | src/video_core/command_classes/codecs/codec.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/video_core/command_classes/codecs/codec.cpp b/src/video_core/command_classes/codecs/codec.cpp index 868b82f9b..2a532b883 100644 --- a/src/video_core/command_classes/codecs/codec.cpp +++ b/src/video_core/command_classes/codecs/codec.cpp @@ -130,12 +130,6 @@ bool Codec::CreateGpuAvDevice() { } if (config->methods & HW_CONFIG_METHOD && config->device_type == type) { av_codec_ctx->pix_fmt = config->pix_fmt; - if (config->methods & AV_CODEC_HW_CONFIG_METHOD_HW_FRAMES_CTX) { - // 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; - } LOG_INFO(Service_NVDRV, "Using {} GPU decoder", av_hwdevice_get_type_name(type)); return true; } |