[Libav-user] Effects of passing contexts (format, codec) between threads
anonymous.from.applecity at gmail.com
Thu Aug 18 10:00:41 EEST 2022
Thank you for the answer!
> av_read_frame() is not thread safe, it can only be read from one thread.
Does it have to be the same thread all the time? In my program, threads
change, but it is always one thread at a time, e.g. no simultaneous access.
I was wondering if it is error on my part of ffmpeg uses thread local
storage and I need to keep it in one thread.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user