[Libav-user] Questions about using libav in a multi-threaded application

Tr3wory tr3w at freemail.hu
Mon Jan 16 11:37:47 CET 2012


Can't I just set some pointer in a context or somewhere else what I
can use in the callback like in most other callback driven library?

tr3w

On Mon, Jan 16, 2012 at 10:56 AM, Andrey Utkin
<andrey.krieger.utkin at gmail.com> wrote:
> 2012/1/16 Tr3wory <tr3w at freemail.hu>:
>> In the callback will the current thread be the same as the thread
>> where I called the libav functions?
>
> Yes, except if multithreaded decoder/encoder will log something from
> its thread pool. Their multithreading is disabled by default,
> currently.
>
> --
> Andrey Utkin
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user


More information about the Libav-user mailing list