[FFmpeg-devel] [PATCH] avfilter: add audio signal to distortion ratio filter
Nicolas George
george at nsup.org
Mon Sep 13 09:31:44 EEST 2021
Paul B Mahol (12021-09-12):
> Why purely input-driven scheme is wanted/needed to be supported?
Consider this:
input -----> scale -----> sink
If you add frames to the input, they will reach the sink. It can even be
something else than a buffersink and still work. No need to request a
frame on the sink.
OTOH:
input -----> vstack -----> sink
/
testsrc --/
If you add frames to the input, they will accumulate in the link before
vstack, because no frame will be requested from the sink.
I think I forgot one rule for filters with multiple inputs: having
enough frames on one input should be considered a sign output is wanted,
and trigger requesting frames on other outputs.
But I am not 100% sure I did not already consider this and discard it
for a reason I forgot, so I need to think about it.
Regards,
--
Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210913/b8abc76e/attachment.sig>
More information about the ffmpeg-devel
mailing list