Delete support for has_internal_source
Bug: webrtc:12875 Change-Id: I9683e71e1fe5b24802033ffcb32a531ca685fc6f Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/179220 Commit-Queue: Niels Moller <nisse@webrtc.org> Reviewed-by: Tommi <tommi@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35353}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
efe46b6bee
commit
13d163654a
@ -635,7 +635,6 @@ VideoEncoder::EncoderInfo H264EncoderImpl::GetEncoderInfo() const {
|
||||
info.scaling_settings =
|
||||
VideoEncoder::ScalingSettings(kLowH264QpThreshold, kHighH264QpThreshold);
|
||||
info.is_hardware_accelerated = false;
|
||||
info.has_internal_source = false;
|
||||
info.supports_simulcast = true;
|
||||
info.preferred_pixel_formats = {VideoFrameBuffer::Type::kI420};
|
||||
return info;
|
||||
|
||||
@ -141,8 +141,6 @@ int MultiplexEncoderAdapter::InitEncode(
|
||||
encoder_info_.apply_alignment_to_all_simulcast_layers = true;
|
||||
}
|
||||
|
||||
encoder_info_.has_internal_source = false;
|
||||
|
||||
encoders_.emplace_back(std::move(encoder));
|
||||
}
|
||||
encoder_info_.implementation_name += ")";
|
||||
|
||||
@ -1215,7 +1215,6 @@ VideoEncoder::EncoderInfo LibvpxVp8Encoder::GetEncoderInfo() const {
|
||||
info.has_trusted_rate_controller =
|
||||
rate_control_settings_.LibvpxVp8TrustedRateController();
|
||||
info.is_hardware_accelerated = false;
|
||||
info.has_internal_source = false;
|
||||
info.supports_simulcast = true;
|
||||
if (!resolution_bitrate_limits_.empty()) {
|
||||
info.resolution_bitrate_limits = resolution_bitrate_limits_;
|
||||
|
||||
@ -520,7 +520,6 @@ TEST(LibvpxVp8EncoderTest, GetEncoderInfoReturnsStaticInformation) {
|
||||
|
||||
EXPECT_FALSE(info.supports_native_handle);
|
||||
EXPECT_FALSE(info.is_hardware_accelerated);
|
||||
EXPECT_FALSE(info.has_internal_source);
|
||||
EXPECT_TRUE(info.supports_simulcast);
|
||||
EXPECT_EQ(info.implementation_name, "libvpx");
|
||||
EXPECT_EQ(info.requested_resolution_alignment, 1);
|
||||
|
||||
@ -1735,7 +1735,6 @@ VideoEncoder::EncoderInfo LibvpxVp9Encoder::GetEncoderInfo() const {
|
||||
}
|
||||
info.has_trusted_rate_controller = trusted_rate_controller_;
|
||||
info.is_hardware_accelerated = false;
|
||||
info.has_internal_source = false;
|
||||
if (inited_) {
|
||||
// Find the max configured fps of any active spatial layer.
|
||||
float max_fps = 0.0;
|
||||
|
||||
Reference in New Issue
Block a user