[FFmpeg-devel] [PATCH 2/3] Acquire lock when initializing parsers.
michaelni at gmx.at
Thu Dec 6 03:55:40 CET 2012
On Thu, Dec 06, 2012 at 03:07:21AM +0100, Michael Niedermayer wrote:
> On Tue, Nov 27, 2012 at 09:59:31PM +0100, Reimar Döffinger wrote:
> > This is necessary since they might be initializing or
> > even using static VLC tables.
> this breaks ffmpeg.c with multiple inputs
> the parsers get initialized from read packet and ffmpeg runs the
> 2 demuxers from seperate threads if iam guessing right
> i wasnt able to make it happen in gdb though ...
> also this patchset breaks the frame thread encoder, i think ive fixed
> that one but iam not sure what to do about the parser issue quickly
> now so Ill revert the patch so we have time to think and work on
> fixing this without pressure ...
To reproduce: (with git prior to reverts)
./ffmpeg -y -i matrixbench_mpeg2.mpg -i matrixbench_mpeg2.mpg -map 0:0 -map 1:0 out.mp4
Fails >50% of the time but not in gdb
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Frequently ignored awnser#1 FFmpeg bugs should be sent to our bugtracker. User
questions about the command line tools should be sent to the ffmpeg-user ML.
And questions about how to use libav* should be sent to the libav-user ML.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel