diff options
author | Martin Storsjö <martin@martin.st> | 2021-08-05 14:54:33 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2022-02-03 23:57:57 +0200 |
commit | c69b1a12bb6231bd648cf29c1d99282e2d5e68d0 (patch) | |
tree | 445d25f6fb984ab7786d5eed62638ed1189fa0d5 /libavdevice/decklink_common.cpp | |
parent | 340a78afebad4bec205bbc83e077be9352887502 (diff) | |
download | ffmpeg-c69b1a12bb6231bd648cf29c1d99282e2d5e68d0.tar.gz |
libfdk-aacdec: Flush delayed samples at the end
The fdk-aac decoder can return decoded audio data with a delay.
(Whether it does this or not depends on the options set; by default
it does add some delay.) Previously, this delay was handled by
adjusting the timestamps of the decoded frames, but the last delayed
samples weren't returned.
Set the AV_CODEC_CAP_DELAY flag to indicate that the caller should
flush remaining samples at the end. Also trim off the corresponding
amount of samples at the start instead of adjusting timestamps.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavdevice/decklink_common.cpp')
0 files changed, 0 insertions, 0 deletions