diff options
author | Arthur Taylor <art@ified.ca> | 2021-01-07 12:55:59 -0800 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2021-01-07 22:42:15 +0100 |
commit | f4bdeddc3cab807e43e0450744dfe9a45661e1d7 (patch) | |
tree | bb45ef9d0392e762efc9f7eeaf6bdc1fcd0da8f9 /libavcodec/speedhqenc.h | |
parent | 66deab3a2609aa9462709c82be5d4efbb6af2a08 (diff) | |
download | ffmpeg-f4bdeddc3cab807e43e0450744dfe9a45661e1d7.tar.gz |
avcodec/libopusenc: Fix for header pre-skip value
The Opus header initial padding preskip amount is always to be expressed
relative to 48kHz. However, the encoder delay returned from querying
libopus is relative to the encoding samplerate. Multiply by the
samplerate conversion factor to correct.
Signed-off-by: Arthur Taylor <art@ified.ca>
Diffstat (limited to 'libavcodec/speedhqenc.h')
0 files changed, 0 insertions, 0 deletions