Commit 4308fd1d authored by Laurent Aimar's avatar Laurent Aimar

Do not lock the audio buffer while rendering a frame in projectM.

parent cd5b4fb2
......@@ -340,9 +340,10 @@ static void *Thread( void *p_data )
p_sys->i_nb_samples );
p_sys->i_nb_samples = 0;
}
p_sys->p_projectm->renderFrame();
vlc_mutex_unlock( &p_sys->lock );
p_sys->p_projectm->renderFrame();
if( !vout_opengl_Lock(gl) )
{
vout_opengl_Swap( gl );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment