mirror of
https://github.com/samsonjs/media.git
synced 2026-04-10 12:05:47 +00: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue