Rename corresponding libaom_av1_encoder_if_supported java buildtargets.

This is in preparation to introduce new java buildtargets that will use the `libaom_av1_encoder` buildtarget instead.

bug: webrtc:13573
Change-Id: I23e80653943ede576657acc17bcc5602cb0a4d5d
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/254540
Reviewed-by: Sergey Silkin <ssilkin@webrtc.org>
Commit-Queue: Philip Eliasson <philipel@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#36171}
This commit is contained in:
philipel
2022-03-10 10:51:49 +01:00
committed by WebRTC LUCI CQ
parent c2a2bef4f7
commit 09d488b352
4 changed files with 14 additions and 14 deletions

View File

@ -29,8 +29,8 @@ public class SoftwareVideoEncoderFactory implements VideoEncoderFactory {
return new LibvpxVp9Encoder();
}
if (codecName.equalsIgnoreCase(VideoCodecMimeType.AV1.name())
&& LibaomAv1Encoder.nativeIsSupported()) {
return new LibaomAv1Encoder();
&& LibaomAv1EncoderIfSupported.nativeIsSupported()) {
return new LibaomAv1EncoderIfSupported();
}
return null;
@ -48,7 +48,7 @@ public class SoftwareVideoEncoderFactory implements VideoEncoderFactory {
if (LibvpxVp9Encoder.nativeIsSupported()) {
codecs.add(new VideoCodecInfo(VideoCodecMimeType.VP9.name(), new HashMap<>()));
}
if (LibaomAv1Encoder.nativeIsSupported()) {
if (LibaomAv1EncoderIfSupported.nativeIsSupported()) {
codecs.add(new VideoCodecInfo(VideoCodecMimeType.AV1.name(), new HashMap<>()));
}