[vlc-devel] [PATCH] rtsp.c deadlock

Sébastien Escudier sebastien-devel at celeos.eu
Wed Dec 3 11:51:32 CET 2008

Here is another patch.
- I moved the TAB_APPEND in MediaNew to be sure we can't access the media before
it is really created ( vlc_mutex_init was done after TAB_APPEND ).

- I locked the media instead of the list when we issue a command on this media.

- I locked the media before removing it from the list.

Is it correct ?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Try-to-fix-a-deadlock-between-vlm-and-media-list.patch
Type: text/x-diff
Size: 2375 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20081203/7afbf7fe/attachment.patch>

More information about the vlc-devel mailing list