DescriptionAndroid: use demuxer configs for video output size.
The values reported from MediaCodec.GetOutputFormat (once the crop
rectangle is accounted for) correspond to the actual video size, but
not necessarily the size that should be outputted.
Some videos appear to report a different aspect ratio in their config
than the actual video data, but the reported aspect ratio is what it
should be displayed at.
R=qinmin@chromium.org
BUG=internal b/18224769
Committed: https://crrev.com/53a8876984c7593bab28a31e19ccdc904638c19e
Cr-Commit-Position: refs/heads/master@{#304477}
Patch Set 1 #
Total comments: 2
Patch Set 2 : documents UpdateOutputFormat reasoning #Messages
Total messages: 8 (1 generated)
|