[vlc-devel] commit: macosx: The playlist is unlocked at this time, so playlist_Control( ) needs to lock it. (Pierre d'Herbemont )
git version control
git at videolan.org
Tue Jul 8 22:54:50 CEST 2008
vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Tue Jul 8 22:57:05 2008 +0200| [adec5472ece528e16c993ab60a7aeac34e2bb967]
macosx: The playlist is unlocked at this time, so playlist_Control() needs to lock it.
This fixes an input and input item leak.
IMHO, such typo are so easy, we need to fix that up. (macosx module is full of those).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=adec5472ece528e16c993ab60a7aeac34e2bb967
---
modules/gui/macosx/playlist.m | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/macosx/playlist.m b/modules/gui/macosx/playlist.m
index 6fe2531..9be1f6b 100644
--- a/modules/gui/macosx/playlist.m
+++ b/modules/gui/macosx/playlist.m
@@ -720,7 +720,7 @@
p_item = NULL;
}
}
- playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, true, p_node, p_item );
+ playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, false, p_node, p_item );
}
vlc_object_release( p_playlist );
}
More information about the vlc-devel
mailing list