[x264-devel] x264_encoder_reconfig and multithreading

Benjamin Pracht bigben at videolan.org
Fri Jan 25 03:18:30 CET 2008


Hi,

Playing a bit with x264_encoder_reconfig while multithreading is
enabled, I realized that this function only changes the parameters in
the main x264_t handle, which is equal to h->thread[0] if my
understanding is good. The consequence is that other threads still seem
to use the old parameters.

Is that an expected behaviour, is x264_encoder_reconfig not supposed to
be used in multithreaded mode, or are you interested in a patch that
loops on all the available thread handles to change the parameters?

Thanks,

-- 
BigBen


More information about the x264-devel mailing list