[FFmpeg-devel] [PATCH] Make ffplay define in the encoder the number of threads *before* to open it
Michael Dorr
dorr
Sun Mar 9 15:54:35 CET 2008
On Sunday 09 March 2008 02:59:30 pm Stefano Sabatini wrote:
> On date Saturday 2008-03-08 21:03:17 +0100, Michael Niedermayer encoded:
> > On Sat, Mar 08, 2008 at 06:33:27PM +0100, Stefano Sabatini wrote:
> > [...
> >
> > > Index: ffplay.c
> > > - enc->thread_count= thread_count;
[...]
> Without threads enabled enc->thread_count isn't set, so it defaults to the
> sane value of 1.
I hope this doesn't qualify as thread hijacking, but the same patch (remove
setting enc->thread_count) should also be applied to ffmpeg.c (attached).
Regards
--
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: donotset_threadcount_ffmpeg.diff
Type: text/x-diff
Size: 1043 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080309/cf26acca/attachment.diff>
More information about the ffmpeg-devel
mailing list