Commit da5e4dbe by olly Committed by Oliver Woodman

Fix wrong-way-round-sign. Oops!

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=120694784
parent 50f56162
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment