[vlc-devel] [PATCH] rtsp.c deadlock
sebastien-devel at celeos.eu
Fri Dec 5 11:53:43 CET 2008
Quoting Laurent Aimar <fenrir at via.ecp.fr>:
> > Is my patch really invalid ?
> I think so.
Could you tell me if this patch is better ?
If not what is the correct way to handle this ?
We have VLM which lock *vlm mutex* and issue a command which lock *lock_media
mutex* in rtsp.c. (MediaNew for example).
In the other hand we have CommandThread (rtsp.c) which lock *lock_media mutex*
and then which issue a vlm command (play for example) which lock *vlm mutex*.
Which one is wrong ?
More information about the vlc-devel