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

wl2776 wl2776 at gmail.com
Mon Jan 16 13:02:30 CET 2012


wl2776 wrote
> 
> 
> Tr3wory wrote
>> 
>> Is this possible somehow in libav?
>> 
> 
> The only way I see is modifying the part of AVCodecContext and
> AVFormatContext, related to AVClass *.
> 

In other words, you can adopt some code from libav:
http://cekirdek.pardus.org.tr/~ismail/ffmpeg-docs/libavcodec_2options_8c-source.html#l00449

Define your own avclass structure and set its pointer to AVFormatContext or
AVCodecContext right after their creation.

--
View this message in context: http://libav-users.943685.n4.nabble.com/Libav-user-Questions-about-using-libav-in-a-multi-threaded-application-tp4297394p4299285.html
Sent from the libav-users mailing list archive at Nabble.com.


More information about the Libav-user mailing list