[FFmpeg-devel] [PATCH] avfilter/WIP: add streamselect filter

Nicolas George 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.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151119/c73dbe74/attachment.sig>


More information about the ffmpeg-devel mailing list