mirror of
https://github.com/androidx/media.git
synced 2025-05-17 04:29:55 +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 {
|
} else {
|
||||||
// TODO[REFACTOR]: We should probably assume that we can decode at least the resolution of
|
// TODO[REFACTOR]: We should probably assume that we can decode at least the resolution of
|
||||||
// the display, or the camera, as a sanity check?
|
// the display, or the camera, as a sanity check?
|
||||||
decoderCapable = format.width * format.height > MediaCodecUtil.maxH264DecodableFrameSize();
|
decoderCapable = format.width * format.height <= MediaCodecUtil.maxH264DecodableFrameSize();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// We don't know any better, so assume true.
|
// We don't know any better, so assume true.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user