[FFmpeg-devel] [PATCH 2/2] libfdk-aacdec: Flush delayed samples at the end

Martin Storsjö martin at martin.st
Thu Feb 3 13:53:22 EET 2022


On Fri, 21 Jan 2022, Andreas Rheinhardt wrote:

> Interesting: There is indeed a delay at the start (720 samples in a
> quick test) compared to the native AAC decoder.
> Furthermore, the current code is buggy, as it believes that
> avcodec->time_base to be the time_base of the returned AVFrames (it is
> in reality avcodec->pkt_timebase; just test with AAC-in-Matroska for this).
> I haven't tested your patches, but I have now realized that there is
> indeed an issue. And your patch should also fix the wrong timebase issue.

Based on discussion on irc with Andreas and James, I think the conclusion 
was that this patch should be fine, so I'll go ahead and push it soon if 
there's no further comments on it.

// Martin



More information about the ffmpeg-devel mailing list