DescriptionAndroid MediaCodecVideoDecoder: Limit measured decode time to 200ms
This change is done to remove abnormally high decode time measurements for H264 decoding. H264 decoding sometimes keeps a few frames as reference before outputting a new decoded frame. This pipeline causes some frames to get stuck when the source stops sending new frames. When the source starts sending frames again, the decode time measurements for the frames that were stuck will include the pause time, which can be arbitrary high. This CL is a simple fix for this problem by constraining the decode time values to a "reasonable" range.
BUG=b/27306053
Committed: https://crrev.com/cedddbdf7b54541ce1786495ab9cc582b3ed58c4
Cr-Commit-Position: refs/heads/master@{#11792}
Patch Set 1 #
Messages
Total messages: 11 (5 generated)
|