[FFmpeg-devel] [PATCH] avfilter/split: switch to activate()

Paul B Mahol onemda at gmail.com
Sat Mar 5 00:49:38 EET 2022


On 3/4/22, Nicolas George <george at nsup.org> wrote:
> Paul B Mahol (12022-03-03):
>> It is caused by number of sample per frame.
>>
>> I tested actually with -f lavfi -i sine only.
>>
>> And patch resolves issue.
>
> I do not doubt it does. But even without activate, EOF should not depend
> on the number of samples per frame. There is something wrong going on
> there, and I want to understand what before this change makes it go
> away: otherwise, we might be missing other similar bugs.
>
> It has waited several months, a few days more will not hurt.
>

No, wait must stop.

The issue is that EOF is never reported if there is >1 frame left in
queue before EOF for filters that do not use .activate (and use >1
inputs).

> Regards,
>
> --
>   Nicolas George
>


More information about the ffmpeg-devel mailing list