]> git.sesse.net Git - vlc/commitdiff
libvlc: Don't delete all the media in libvlc_vlm_release() as this should be done...
authorPierre d'Herbemont <pdherbemont@videolan.org>
Wed, 9 Apr 2008 09:50:37 +0000 (11:50 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Wed, 9 Apr 2008 09:52:11 +0000 (11:52 +0200)
Note, this is already done by vlm_Delete() so there is probably a bug around.

src/control/vlm.c

index 9ee2da570d430bc3a212296df081d61b3e56f4f2..78df6c3d1c91b5e7509fd43aa53ab8f6b7288120 100644 (file)
@@ -155,7 +155,6 @@ void libvlc_vlm_release( libvlc_instance_t *p_instance, libvlc_exception_t *p_ex
 
     VLM(p_vlm);
 
-    vlm_Control( p_vlm, VLM_CLEAR_MEDIAS, NULL );
     vlm_Delete( p_vlm );
 }