[vlc-devel] [Patch] Fix assert when loading a media though media_player_set_media

Hugo Beauzee-Luyssen beauze.h at gmail.com
Thu Feb 18 14:22:14 CET 2010


Hi,

When libvlc_media_player_set_media is called, it locks the media
player locks, and then call set_state with an unlocked state.
Since set_state tries to lock the same mutex again, an assertion is
thrown, thus forbidding a libvlc user to load a media.
This patch corrects it.

Regards,

-- 
Hugo Beauzée-Luyssen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Don-t-try-to-lock-media-player-mutex-twice.patch
Type: text/x-patch
Size: 863 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100218/d6d92528/attachment.bin>


More information about the vlc-devel mailing list