diff options
author | Jeremy Wu <jrwu@google.com> | 2023-04-25 06:09:52 +0000 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2023-06-04 03:36:10 +0200 |
commit | b92af7b64e7acd015aea3ae1da2228c5a7e677bf (patch) | |
tree | e6a0f579e41f53aa784a466bf4a726bd346137a0 /libavcodec/get_bits.h | |
parent | 378fb4028294bcf27df09d145a1f6ab1d014924e (diff) | |
download | ffmpeg-b92af7b64e7acd015aea3ae1da2228c5a7e677bf.tar.gz |
avcodec/aacenc: add strict bit rate control option
In certain use cases, controlling the maximum frame size is critical. An
example is when transmitting AAC packets over Bluetooth A2DP.
While the spec allows the packets to be fragmented (but UNRECOMMENDED),
in practice most headsets do not recognize nor reassemble such packets.
In this patch, we allow setting `bit_rate_tolerance` to 0 to indicate
that the specified bit rate should be treated as an upper bound up to
frame level.
Signed-off-by: Jeremy Wu <jrwu@chromium.org>
Diffstat (limited to 'libavcodec/get_bits.h')
0 files changed, 0 insertions, 0 deletions