On 16/04/14 19:00, Ondřej Perutka wrote:
> I saved input packets passed to the decoder into a file for all these
> cases. There were absolutely no differences between these files. (Note: All
> packets had proper 8 byte zero padding in the end of the buffer.)
> 
> I found out that setting thread_count in codec context to 1 solves the
> problem. But there are no problems with avplay using multiple threads.
> There are also no problems with previous versions of Libav So is there
> something I should know about thread locking?

Possibly, is hard to guess w/out seeing the code.

> I use Libav 10 from tarball and avcodec_decode_video2() for decoding.

How do you initialize the decoder?

lu
_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api

Reply via email to