Remove libaom av1 encoder from SoftwareVideoEncoderFactory.

Bug: webrtc:13573
Change-Id: If2948cf144e0b670f4fa6fabb06e2a14b4a8e281
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/279561
Commit-Queue: Philip Eliasson <philipel@webrtc.org>
Reviewed-by: Xavier Lepaul‎ <xalep@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#38430}
This commit is contained in:
philipel
2022-10-17 16:02:33 +02:00
committed by WebRTC LUCI CQ
parent 98a9efaa98
commit aafcc43440
3 changed files with 11 additions and 19 deletions

View File

@ -28,9 +28,6 @@ public class SoftwareVideoEncoderFactory implements VideoEncoderFactory {
&& LibvpxVp9Encoder.nativeIsSupported()) {
return new LibvpxVp9Encoder();
}
if (codecName.equalsIgnoreCase(VideoCodecMimeType.AV1.name())) {
return new LibaomAv1Encoder();
}
return null;
}
@ -47,7 +44,6 @@ public class SoftwareVideoEncoderFactory implements VideoEncoderFactory {
if (LibvpxVp9Encoder.nativeIsSupported()) {
codecs.add(new VideoCodecInfo(VideoCodecMimeType.VP9.name(), new HashMap<>()));
}
codecs.add(new VideoCodecInfo(VideoCodecMimeType.AV1.name(), new HashMap<>()));
return codecs.toArray(new VideoCodecInfo[codecs.size()]);
}