[FFmpeg-devel] [PATCH] pthread: Allow thread_count==0

Ronald S. Bultje rsbultje
Sun Feb 20 02:45:51 CET 2011


Hi,

On Sat, Feb 19, 2011 at 8:02 PM, Takashi Mochizuki
<mochi at da2.so-net.ne.jp> wrote:
> Some codec like libx264 uses thread_count==0 as Automatic mode.

We have not 2, but 3 types of threading, it seems:
- slice (execute()-based)
- frame (pthread.c)
- something else internally in the codec (e.g. x264, possibly others also)

We need to generally better distinguish between these. Alexander, any
opinions on how to accomplish this?

Ronald



More information about the ffmpeg-devel mailing list