[vlc-devel] [PATCH] MMS stream pausing
Rémi Denis-Courmont
rdenis at simphalempin.com
Sun Jun 15 18:00:03 CEST 2008
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 :(
Also, you should probably use vlc_object_timedwait() rather than msleep(), so
that we don't need to wait 10 seconds to stop the stream.
And please use your real name when sending patches.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list