Ben Mesander <ben@...> writes:

>   If the underlying ffmpeg library is compiled withe 
> --disable-pthreads the code always works correctly. If 
> that is not the case, sometimes avcodec_decode_video2() 
> returns the number of bytes in the PNG, but does not 
> set the frame complete flag to true.

The decoder (luckily!) supports multi-threading. If you 
don't like it (you just have to call avcodec_decode_video2() 
iirc), just set the thread count to 1 before opening the 
decoder.

Carl Eugen

_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to