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 <nisse@webrtc.org>
Commit-Queue: Johannes Kron <kron@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#34868}
This commit is contained in:
Johannes Kron
2021-08-26 10:23:06 +02:00
committed by WebRTC LUCI CQ
parent 59947d2871
commit 9ad972d4fb

View File

@ -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<std::string> 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<VideoDecoder> CreateVideoDecoder(
const SdpVideoFormat& format) = 0;