From: Hugo Beauzee-Luyssen Date: Thu, 18 Feb 2010 13:44:53 +0000 (+0100) Subject: libvlc: Don't lock the media player twice in set_media(). X-Git-Tag: 1.1.0-pre1~854 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=7d59872c455cb83be6ec6745dbd61e409d160610;p=vlc libvlc: Don't lock the media player twice in set_media(). --- diff --git a/src/control/media_player.c b/src/control/media_player.c index 210b13bc0c..7595755d7c 100644 --- a/src/control/media_player.c +++ b/src/control/media_player.c @@ -575,7 +575,7 @@ void libvlc_media_player_set_media( !p_mi->input.p_thread->b_error ); lock( p_mi ); - set_state( p_mi, libvlc_NothingSpecial, false ); + set_state( p_mi, libvlc_NothingSpecial, true ); unlock_input( p_mi ); libvlc_media_release( p_mi->p_md );