[vlc-commits] skins2: deactivate the playlist before exit
Rémi Denis-Courmont
git at videolan.org
Mon Nov 26 23:19:52 CET 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Nov 26 23:20:42 2012 +0200| [7f1e18cd8285d8690f82ab7918464dd61f995012] | committer: Rémi Denis-Courmont
skins2: deactivate the playlist before exit
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7f1e18cd8285d8690f82ab7918464dd61f995012
---
modules/gui/skins2/src/skin_main.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/gui/skins2/src/skin_main.cpp b/modules/gui/skins2/src/skin_main.cpp
index b1b82c6..ea7394b 100644
--- a/modules/gui/skins2/src/skin_main.cpp
+++ b/modules/gui/skins2/src/skin_main.cpp
@@ -153,6 +153,9 @@ static void Close( vlc_object_t *p_this )
msg_Dbg( p_intf, "closing skins2 module" );
+ /* Terminate input to ensure that our window provider is released. */
+ playlist_Deactivate( p_intf->p_sys->p_playlist );
+
vlc_mutex_lock( &skin_load.mutex );
skin_load.intf = NULL;
vlc_mutex_unlock( &skin_load.mutex);
More information about the vlc-commits
mailing list