[Libav-user] draw_horiz_band and frame multi-thread question

Arnaud Carré arnaud.carre at gmail.com
Mon Nov 9 09:33:43 CET 2015


Oh yes that's what I want to acheice! But how can I "join" ffmpeg threads? (Wich public func can I call ?)

Envoyé de mon iPhone

Le 7 nov. 2015 à 02:03, Gonzalo <ggarra13 at gmail.com> a écrit :

> 
> 
> El 06/11/15 a las 07:39, Arnaud Carré escribió:
>> 
>> I'm looking to kind of thread "fence" to be sure the frame is complete. a kind of "wait all threads have done the frame".
> You need to join all threads to make sure they all exited (successfully one hopes).  You can also use a barrier to lock execution of your program until all threads pass the barrier.
> 
> -- 
> Gonzalo Garramuño
> ggarra13 at gmail.com
> 
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user


More information about the Libav-user mailing list