[vlc-commits] player: assert that output listeners are removed
Thomas Guillem
git at videolan.org
Fri Aug 9 17:00:33 CEST 2019
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Aug 7 16:18:10 2019 +0200| [342b765e29f8efdf2cd62c7e7abbb4b691e2be72] | committer: Thomas Guillem
player: assert that output listeners are removed
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=342b765e29f8efdf2cd62c7e7abbb4b691e2be72
---
src/input/player.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/input/player.c b/src/input/player.c
index 45c1ce876f..0764d4cd1e 100644
--- a/src/input/player.c
+++ b/src/input/player.c
@@ -3667,6 +3667,8 @@ vlc_player_Delete(vlc_player_t *player)
vlc_cond_signal(&player->destructor.wait);
assert(vlc_list_is_empty(&player->listeners));
+ assert(vlc_list_is_empty(&player->vout_listeners));
+ assert(vlc_list_is_empty(&player->aout_listeners));
vlc_mutex_unlock(&player->lock);
More information about the vlc-commits
mailing list