media_list_player: Fix the locking scheme for the callbacks.
authorPierre d'Herbemont <pdherbemont@free.fr>
Wed, 19 Aug 2009 14:23:15 +0000 (16:23 +0200)
committerPierre d'Herbemont <pdherbemont@free.fr>
Wed, 19 Aug 2009 14:26:09 +0000 (16:26 +0200)
commitab4442b08556cc4c1755f1b59a39ec92a8f37aec
tree7d6c3e9a7d923077598f509af510538324c63fd7
parent78ecd2b0304d4f86ff1aa3c45b06237b2bfc3c6b
media_list_player: Fix the locking scheme for the callbacks.

Also fix the initial refcount for the media list, that was causing a bunch of problem on the test suite.

vlc_assert_locked should probably be exported, as it would have been useful here.
src/control/media_list_player.c