[vlc-commits] lib: media_list_player: remove wrong assert
Thomas Guillem
git at videolan.org
Mon Mar 11 10:19:23 CET 2019
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Mar 11 09:29:08 2019 +0100| [5111f5e2851a06b737e4d9c67e1839787e91ffef] | committer: Thomas Guillem
lib: media_list_player: remove wrong assert
Fixes #21985
This function is now always called locked (before the thread is created from
new()).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5111f5e2851a06b737e4d9c67e1839787e91ffef
---
lib/media_list_player.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/lib/media_list_player.c b/lib/media_list_player.c
index c7086cf4b8..0b147d8f36 100644
--- a/lib/media_list_player.c
+++ b/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);
}
More information about the vlc-commits
mailing list