[FFmpeg-devel] [PATCH 31/31] hevc_metadata: Update AVCodecParameters during init

2019-07-08 Thread Andreas Rheinhardt
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

[FFmpeg-devel] [PATCH 31/31] hevc_metadata: Update AVCodecParameters

2019-06-19 Thread Andreas Rheinhardt
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