diff options
author | Joakim Plate <elupus@ecce.se> | 2011-11-06 00:59:37 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-11-06 01:46:14 +0100 |
commit | 29a29226bb01d8e46b731e73f637563e5c4cccfe (patch) | |
tree | a0aae656829c551da7bd634d8e16240faba3d21f /libavformat/bfi.c | |
parent | 1125571b736b664a5ef079ec9e6f09640682eeda (diff) | |
download | ffmpeg-29a29226bb01d8e46b731e73f637563e5c4cccfe.tar.gz |
Set avctx->coded_width/height to uncropped h264 sizes
avctx->width/height remain right/bottom cropped as previous behaviour.
Hardware decoders need to know the uncropped data to allocate surfaces
of correct height. Some hardware is picky and fails to decoder properly
if a surface larger than needed is used during decode, so just aligning
up is not enough.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/bfi.c')
0 files changed, 0 insertions, 0 deletions