[FFmpeg-devel] [RFC] Event loop

Kieran Kunhya kierank at obe.tv
Fri Feb 19 18:52:24 EET 2021


On Fri, 19 Feb 2021 at 17:41, Nicolas George <george at nsup.org> wrote:

> Lynne (12021-02-19):
> > You poll it in a busy loop in a thread in an event.
>
> Yeah. Events loop are supposed to avoid busy loops. So no.
>
> > Or you find a solution to use libuv's polling instead via a "hacker
> > solution".
>
> This is what I am asking: can you give a good solution with libuv? It
> seems you cannot.
>

I don't have a strong opinion on either. But I think you can use
container_of on the fd.

Kieran


More information about the ffmpeg-devel mailing list