[FFmpeg-devel] [RFC] Event loop

Kieran Kunhya kierank at obe.tv
Fri Feb 19 21:34:15 EET 2021


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

> Kieran Kunhya (12021-02-19):
> > I don't have a strong opinion on either. But I think you can use
> > container_of on the fd.
>
> Thanks. I find no trace of it in the docs:
>
>
> http://docs.libuv.org/en/v1.x/search.html?q=container_of&check_keywords=yes&area=default
>
> Can you be a little more precise?
>
> The portability arguments have been compelling for libuv over libev, so
> if we find a way of getting libuv to work for our needs, it would be
> best.
>

Actually maybe you can't use container_of and mmap since the fd is not a
pointer...
Sorry for noise.

Kieran


More information about the ffmpeg-devel mailing list