Re: [FFmpeg-devel] [BROKEN] apad causes infinite hang

2024-06-17 Thread Nicolas George
Paul B Mahol (12024-06-17): > And once you close all buffersinks the EOF will and must propagate backward > to all not-closed filters and their in/out pads. Your analysis here is right, obviously. Closing a source for this bug makes no sense. Regards, -- Nicolas George ___

Re: [FFmpeg-devel] [BROKEN] apad causes infinite hang

2024-06-17 Thread Paul B Mahol
On Mon, Jun 17, 2024 at 9:24 AM Anton Khirnov wrote: > Quoting Paul B Mahol (2024-06-14 14:19:13) > > Just try with: > > > > ffmpeg -f lavfi -i sine=d=30 -af apad -f null - > > > > Pressing 'q' will not stop it at all, because current ffmpeg code will > try > > to flush all frames, but because pa

Re: [FFmpeg-devel] [BROKEN] apad causes infinite hang

2024-06-17 Thread Anton Khirnov
Quoting Paul B Mahol (2024-06-14 14:19:13) > Just try with: > > ffmpeg -f lavfi -i sine=d=30 -af apad -f null - > > Pressing 'q' will not stop it at all, because current ffmpeg code will try > to flush all frames, but because pad filter never receives EOF from next > filter in chain (sink) it wil

[FFmpeg-devel] [BROKEN] apad causes infinite hang

2024-06-14 Thread Paul B Mahol
Just try with: ffmpeg -f lavfi -i sine=d=30 -af apad -f null - Pressing 'q' will not stop it at all, because current ffmpeg code will try to flush all frames, but because pad filter never receives EOF from next filter in chain (sink) it will happily produce frame forever. Tried to fix ffmpeg.c r