aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/command_classes/codecs/codec.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-12-15 00:03:20 -0800
committerGitHub <noreply@github.com>2021-12-15 00:03:20 -0800
commita4f73756b08dfeb5ce4eb2ab547354ac6ee7789f (patch)
tree486a47945aa83e2842f54dce2e9f153d396a1886 /src/video_core/command_classes/codecs/codec.cpp
parentbf62cd32216697db6dcc0fe292a256ff051dd716 (diff)
parent15a4248f4686d53eac66950ff28362091ef0d860 (diff)
Merge pull request #7589 from yuzu-emu/revert-7565-fix-linux-decoding
Revert "video_core/codecs: refactor ffmpeg searching and handling in cmake"
Diffstat (limited to 'src/video_core/command_classes/codecs/codec.cpp')
-rw-r--r--src/video_core/command_classes/codecs/codec.cpp6
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 868b82f9bd..2a532b8839 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;
}