From 9ad972d4fb48db63e0191ea97a667f365b4a8616 Mon Sep 17 00:00:00 2001 From: Johannes Kron Date: Thu, 26 Aug 2021 10:23:06 +0200 Subject: [PATCH] Remove deprecated signature of VideoDecoderFactory::QueryCodecSupport This function was deprecated in this CL https://webrtc-review.googlesource.com/c/src/+/229184 Bug: chromium:1187565 Change-Id: Ic0e18af69185b48accc441c4bbe1a2d8926db383 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/230241 Reviewed-by: Niels Moller Commit-Queue: Johannes Kron Cr-Commit-Position: refs/heads/main@{#34868} --- api/video_codecs/video_decoder_factory.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/api/video_codecs/video_decoder_factory.h b/api/video_codecs/video_decoder_factory.h index 030955352f..7e1d2ee883 100644 --- a/api/video_codecs/video_decoder_factory.h +++ b/api/video_codecs/video_decoder_factory.h @@ -57,22 +57,6 @@ class RTC_EXPORT VideoDecoderFactory { return codec_support; } - // TODO(kron): This function is deprecated and will be removed ASAP once - // downstream projects are updated to use `reference_scaling` instead of - // `scalability_mode`. - virtual CodecSupport QueryCodecSupport( - const SdpVideoFormat& format, - absl::optional scalability_mode) const { - // Default implementation, query for supported formats and check if the - // specified format is supported. Returns false if scalability_mode is - // specified. - CodecSupport codec_support; - if (!scalability_mode) { - codec_support.is_supported = format.IsCodecInList(GetSupportedFormats()); - } - return codec_support; - } - // Creates a VideoDecoder for the specified format. virtual std::unique_ptr CreateVideoDecoder( const SdpVideoFormat& format) = 0;