mirror of
https://github.com/androidx/media.git
synced 2025-05-16 12:09:50 +08:00
Fix wrong-way-round-sign. Oops!
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=120694784
This commit is contained in:
parent
50f5616266
commit
da5e4dbe92
@ -247,7 +247,7 @@ public class MediaCodecVideoTrackRenderer extends MediaCodecTrackRenderer {
|
||||
} else {
|
||||
// TODO[REFACTOR]: We should probably assume that we can decode at least the resolution of
|
||||
// the display, or the camera, as a sanity check?
|
||||
decoderCapable = format.width * format.height > MediaCodecUtil.maxH264DecodableFrameSize();
|
||||
decoderCapable = format.width * format.height <= MediaCodecUtil.maxH264DecodableFrameSize();
|
||||
}
|
||||
} else {
|
||||
// We don't know any better, so assume true.
|
||||
|
Loading…
x
Reference in New Issue
Block a user