mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Fix compilation error
Patterns in instanceof are not supported on Java 8. PiperOrigin-RevId: 750147834
This commit is contained in:
parent
4d9f47920a
commit
ba97999657
@ -340,9 +340,10 @@ public final class VideoEncoderSettings {
|
|||||||
if (this == o) {
|
if (this == o) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (!(o instanceof VideoEncoderSettings that)) {
|
if (!(o instanceof VideoEncoderSettings)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
VideoEncoderSettings that = (VideoEncoderSettings) o;
|
||||||
return bitrate == that.bitrate
|
return bitrate == that.bitrate
|
||||||
&& bitrateMode == that.bitrateMode
|
&& bitrateMode == that.bitrateMode
|
||||||
&& profile == that.profile
|
&& profile == that.profile
|
||||||
|
Loading…
x
Reference in New Issue
Block a user