[vlc-devel] [PATCH] transcode: Fix multithreaded encoding

Rafaël Carré rafael.carre at gmail.com
Mon Nov 8 16:34:29 CET 2010


Le 08/11/2010 15:59, Rafaël Carré a écrit :

>       id->p_encoder->i_threads = p_sys->i_threads;
> +    /* We pass down the number of desired threads to the encoder (avcodec/x264)
> +     * But why would we want to run encoder asynchronously to the decoder ?? */
> +    p_sys->i_threads = 0;

Note, this patch is functionally equivalent to removing all the 
"if(thread >= 1)" code and EncoderThread().

I just thought this smaller patch would help looking at the issue :)



More information about the vlc-devel mailing list