Re: [FFmpeg-devel] [PATCH 5/6] h264: don't sync pic_id between threads.

2017-03-31 Thread Ronald S. Bultje
Hi, On Fri, Mar 31, 2017 at 10:08 AM, Michael Niedermayer < mich...@niedermayer.cc> wrote: > On Wed, Mar 29, 2017 at 10:12:23AM -0400, Ronald S. Bultje wrote: > > This is how the ref list manager links bitstream IDs to H264Picture/Ref > > objects, and is local to the producer thread. There is no

Re: [FFmpeg-devel] [PATCH 5/6] h264: don't sync pic_id between threads.

2017-03-31 Thread Michael Niedermayer
On Wed, Mar 29, 2017 at 10:12:23AM -0400, Ronald S. Bultje wrote: > This is how the ref list manager links bitstream IDs to H264Picture/Ref > objects, and is local to the producer thread. There is no need for the > consumer thread to know the bitstream IDs of its references in their > respective pr

[FFmpeg-devel] [PATCH 5/6] h264: don't sync pic_id between threads.

2017-03-29 Thread Ronald S. Bultje
This is how the ref list manager links bitstream IDs to H264Picture/Ref objects, and is local to the producer thread. There is no need for the consumer thread to know the bitstream IDs of its references in their respective producer threads. In practice, this fixes the last tsan warnigns when runni