On Mon, 2010-08-16 at 13:42 +0800, avcoder wrote: > No > > On Mon, Aug 16, 2010 at 1:20 PM, Steffen Ebersbach > <[email protected]> wrote: > > Hi, > > > > my question ist, can i use one AVformatcontext by two threads to call > > av_write_frame()? >
Kinda. You need to make sure you provide adequate locking around the call. I believe there is some code in libav* for this - see locking managers. I just use a boost::mutex. Seems to have worked fine so far. /Tomas
signature.asc
Description: This is a digitally signed message part
_______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
