Commit 7d59872c authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen Committed by Pierre d'Herbemont

libvlc: Don't lock the media player twice in set_media().

parent c11082a5
......@@ -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 );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment