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

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to