[vlc-devel] commit: Cleanup service discovery - always ( Rémi Denis-Courmont )

git version control git at videolan.org
Fri Jun 20 22:31:39 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Fri Jun 20 23:33:38 2008 +0300| [20a560c6adbf97a3129e090d5d323c15694def58]

Cleanup service discovery - always

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=20a560c6adbf97a3129e090d5d323c15694def58
---

 src/playlist/engine.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/playlist/engine.c b/src/playlist/engine.c
index 7ae4cc3..e6cfc3a 100644
--- a/src/playlist/engine.c
+++ b/src/playlist/engine.c
@@ -474,7 +474,8 @@ void playlist_LastLoop( playlist_t *p_playlist )
 #endif
 
     /* Core should have terminated all SDs before the playlist */
-    assert( p_playlist->i_sds == 0 );
+    /* TODO: It fails to do so when not playing anything -- Courmisch */
+    playlist_ServicesDiscoveryKillAll( p_playlist );
     playlist_MLDump( p_playlist );
 
     PL_LOCK;




More information about the vlc-devel mailing list