diff options
Diffstat (limited to 'modules/video_coding/codecs/av1/libaom_av1_decoder.cc')
-rw-r--r-- | modules/video_coding/codecs/av1/libaom_av1_decoder.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/video_coding/codecs/av1/libaom_av1_decoder.cc b/modules/video_coding/codecs/av1/libaom_av1_decoder.cc index 122f214a5c..1a8a0c4775 100644 --- a/modules/video_coding/codecs/av1/libaom_av1_decoder.cc +++ b/modules/video_coding/codecs/av1/libaom_av1_decoder.cc @@ -53,6 +53,8 @@ class LibaomAv1Decoder final : public VideoDecoder { int32_t Release() override; + const char* ImplementationName() const override; + private: aom_codec_ctx_t context_; bool inited_; @@ -127,7 +129,7 @@ int32_t LibaomAv1Decoder::Decode(const EncodedImage& encoded_image, // Return decoded frame data. int qp; - ret = aom_codec_control_(&context_, AOMD_GET_LAST_QUANTIZER, &qp); + ret = aom_codec_control(&context_, AOMD_GET_LAST_QUANTIZER, &qp); if (ret != AOM_CODEC_OK) { RTC_LOG(LS_WARNING) << "LibaomAv1Decoder::Decode returned " << ret << " on control AOME_GET_LAST_QUANTIZER."; @@ -180,6 +182,10 @@ int32_t LibaomAv1Decoder::Release() { return WEBRTC_VIDEO_CODEC_OK; } +const char* LibaomAv1Decoder::ImplementationName() const { + return "libaom"; +} + } // namespace const bool kIsLibaomAv1DecoderSupported = true; |