[FFmpeg-devel] [PATCH] avfilter/WIP: add streamselect filter
george at nsup.org
Thu Nov 19 18:47:07 CET 2015
Le nonidi 29 brumaire, an CCXXIV, Clement Boesch a écrit :
> - I always receive frames from the first input link... I suppose I need
> to write a "smart" request_frame callback, but things changed recently
> so maybe there are new guidelines for this? Nicolas, can I call for
> your help again?
Nothing new except you do not have to loop: just forward the request on the
output to the connected input. But you have to decide what to do when an
output is not connected to any input; EAGAIN comes to mind, but I am not
entirely sure it will work correctly. For now I would suggest to make it
unsupported: either an input is connected or it is EOF.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the ffmpeg-devel