aboutsummaryrefslogtreecommitdiffstats
path: root/tests/api/api-seek-test.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2021-08-05 14:54:33 +0300
committerMartin Storsjö <martin@martin.st>2022-02-03 23:57:57 +0200
commitc69b1a12bb6231bd648cf29c1d99282e2d5e68d0 (patch)
tree445d25f6fb984ab7786d5eed62638ed1189fa0d5 /tests/api/api-seek-test.c
parent340a78afebad4bec205bbc83e077be9352887502 (diff)
downloadffmpeg-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 'tests/api/api-seek-test.c')
0 files changed, 0 insertions, 0 deletions