This commit makes hevc_metadata update the AVCodecParameters during init
to bring them in line with the changes to the bitstream.
Notice that for field-based HEVC the derived height is the height of a
frame, which deviates from current FFmpeg behaviour.
Signed-off-by: Andreas Rheinhardt
---
I am
This commit adds an option to also update the AVCodecParameters to align
them with the changes at the bitstream level. It is on by default.
Given the importance of correct frame dimensions they are updated
even when the new option is disabled. Notice that for field-based HEVC
the derived height is