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

Andrey Utkin andrey.krieger.utkin at gmail.com
Mon Jan 16 12:30:37 CET 2012


2012/1/16 Tr3wory <tr3w at freemail.hu>:
> But I don't call the av_log myself. I just call some libav function to
> decode a video, and during the processing it calls the av_log.
> I can register my own log callback, but because I run more than one
> decoding, I don't know where the log information came from.
>
> In other libraries, I can set a pointer called userData or something
> when I register a callback, and I can use this pointer in the callback
> because I get it as a parameter.
>
> Is this possible somehow in libav?

No.

-- 
Andrey Utkin


More information about the Libav-user mailing list