Skip to content
Snippets Groups Projects
Commit 30f51509 authored by Mans Rullgard's avatar Mans Rullgard
Browse files

h264: allow cropping to AVCodecContext.width/height


Override the frame size from the SPS with AVCodecContext values
if the latter specify a size smaller by less than one macroblock.
This is required for correct cropping of MOV files from Canon cameras.

Signed-off-by: default avatarMans Rullgard <mans@mansr.com>
parent 8aa93e90
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment