[vlc-devel] [PATCH] MMS stream pausing

Rémi Denis-Courmont rdenis at simphalempin.com
Mon Jun 16 17:18:24 CEST 2008


Le dimanche 15 juin 2008 23:49:06 bl4, vous avez écrit :
> Rémi Denis-Courmont wrote:
> > Le dimanche 15 juin 2008 18:45:39 bl4, vous avez écrit :
> >> Should be fixed now. I've split the patch into 2 parts in case there are
> >> other problems with the thread.
> >
> > Unfortuantely, net_Write() (in mms_CommandSend()) is not thread-safe if
> > the socket handle is the same. You could end up mixing up bytes from
> > different commands on the wire :(
>
> I've set a lock inside mms_CommandSend().

Sorry, I cannot seem to apply the patch, not even on top of your own last 
commit within master.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list