Browse Source

lib: media_list_player: remove wrong assert

Fixes #21985

This function is now always called locked (before the thread is created from
new()).
pull/85/head
Thomas Guillem 8 years ago
parent
commit
5111f5e285
  1. 1
      lib/media_list_player.c

1
lib/media_list_player.c

@ -401,7 +401,6 @@ uninstall_playlist_observer(libvlc_media_list_player_t * p_mlp)
static void
install_media_player_observer(libvlc_media_list_player_t * p_mlp)
{
assert_locked(p_mlp);
libvlc_event_attach(mplayer_em(p_mlp), libvlc_MediaPlayerEndReached, media_player_reached_end, p_mlp);
}

Loading…
Cancel
Save