From 730f3b76d4d4cc1ff4a788f638deefebee1ba02f Mon Sep 17 00:00:00 2001 From: Aryan Salmanpour Date: Tue, 6 Feb 2024 16:18:02 -0500 Subject: [PATCH] Return ROCDEC_NOT_IMPLEMENTED for GetDecoderCaps API for future GPU (#224) --- src/rocdecode/roc_decoder_caps.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rocdecode/roc_decoder_caps.h b/src/rocdecode/roc_decoder_caps.h index e2af3ff21e..6ca4390256 100644 --- a/src/rocdecode/roc_decoder_caps.h +++ b/src/rocdecode/roc_decoder_caps.h @@ -82,8 +82,8 @@ public: return ROCDEC_NOT_SUPPORTED; } } else { - ERR("ERROR: Didn't find the decoder capability for " + gcn_arch_name + " GPU!"); - return ROCDEC_DEVICE_INVALID; + ERR("Didn't find the decoder capability for " + gcn_arch_name + " GPU!"); + return ROCDEC_NOT_IMPLEMENTED; } } bool IsCodecConfigSupported(std::string gcn_arch_name, rocDecVideoCodec codec_type, rocDecVideoChromaFormat chroma_format, uint32_t bit_depth_minus8, rocDecVideoSurfaceFormat output_format) {