[FFmpeg-devel] mt fork merged but currently disabled?

Gianluigi Tiesi mplayer at netfarm.it
Sat Mar 26 05:31:10 CET 2011


by looking at libavcodec/pthreads.c

in ff_thread_init

I suspect something like:

avctx->thread_count = thread_count;

is missing, while instead is there in w32thread.c

I've tried to add the line, and finally I get two decoding
threads when calling mplayer with lavdopts=threads=2


Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

More information about the ffmpeg-devel mailing list