[vlc-devel] [PATCH] fix a race condition in rtp stream output
sebastien-devel at celeos.eu
Tue Jul 6 10:10:27 CEST 2010
On Mon, 2010-07-05 at 17:42 +0100, Rémi Denis-Courmont wrote:
> ----- Message d'origine -----
> > Do you still think it's not a good idea to lock lock_es when calling
> > RtspAddId, with this explanation ?
> Yes and I still fail to see why you would _really_ need to do that.
Ok, I modified the patch to not call RtspAddId under lock_es.
The reason of the lock when assigning p_sys->es->rtsp_id is beacause
it is used in SDPGenerate from another thread.
Is this patch ok now ?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1839 bytes
Desc: not available
More information about the vlc-devel