[FFmpeg-devel] [PATCH 2/6] avcodec/wmadec: clear pts when returning a frame during flush
James Almer
jamrial at gmail.com
Tue Dec 6 13:42:57 EET 2022
On 12/6/2022 5:27 AM, Paul B Mahol wrote:
> On 12/6/22, James Almer <jamrial at gmail.com> wrote:
>> This will be needed for the following commit, after which ff_get_buffer()
>> will
>> stop setting frame->pts to AV_NOPTS_VALUE.
>
> This can not be put into generic code?
Decoders can set pts manually for frames returned after eof (which is
essentially what I'm doing here), and the generic code can't know the
decoder was done flushing in order to force something into a frame until
it effectively gets no frame.
More information about the ffmpeg-devel
mailing list