> The patch doesn't apply. Can you create a .patch file with git format-patch
> and send the file as an attachment? Sometimes email clients/providers
> corrupt inline patches.
v3-0001-avcodec-videotoolboxenc-Add-CBR-option-to-H264-an.patch
Description: v3-0001-avcodec-videotoolboxenc-Add-CBR-op
Adds an option to use constant bitrate instead of average bitrate to the
videotoolbox encoders. This is enabled via -constant_bit_rate true.
macOS 13 is required for this option to work.
Signed-off-by: Sebastian Beckmann
---
Removed the hard-coded check for Apple Silicon CPUs.
libavcodec
Adds an option to use constant bitrate instead of average bitrate to the
videotoolbox encoders. This is enabled via -constant_bit_rate true.
macOS 13 is required for this option to work.
Signed-off-by: Sebastian Beckmann
---
Changes the name of vtenc_constant_bit_rate_enabled to
Adds an option to use constant bitrate instead of average bitrate to the
videotoolbox encoders. This is enabled via -constant_bit_rate true.
macOS 13 is required for this option to work.
Signed-off-by: Sebastian Beckmann
---
libavcodec/videotoolboxenc.c | 37