diff options
author | Joakim Plate <[email protected]> | 2011-11-06 00:59:37 +0100 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2011-11-06 01:46:14 +0100 |
commit | 29a29226bb01d8e46b731e73f637563e5c4cccfe (patch) | |
tree | a0aae656829c551da7bd634d8e16240faba3d21f /libavformat/utils.c | |
parent | 1125571b736b664a5ef079ec9e6f09640682eeda (diff) |
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 <[email protected]>
Diffstat (limited to 'libavformat/utils.c')
0 files changed, 0 insertions, 0 deletions