[FFmpeg-devel] [PATCH] ffmpeg: make reading packets from thread blocking.
Clément Bœsch
u at pkh.me
Thu Feb 20 10:21:04 CET 2014
On Wed, Feb 19, 2014 at 04:48:14PM +0100, Nicolas George wrote:
> Le nonidi 9 brumaire, an CCXXII, Michael Niedermayer a écrit :
> > sadly not but i could reproduce it here again stuck in
> > fate-filter-amix-transition
> > but even running that 100 times shows no deadlock, seems it happens
> > only in a full fate run for me
> >
> > also from looking at the code i see that finished could get set
> > while the other thread is waiting, i didnt check if that would deadlock
> > though
>
> I believe that was the problem: I could produce a hang like the one
> described in this thread by adding a sleep() just before f->finished was
> set.
>
I wonder if that fix will appease helgrind FATE instance, which is
complaining about that finished variable on virtually every test with
threading.
[...]
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140220/68d9369c/attachment.asc>
More information about the ffmpeg-devel
mailing list