[vlc-devel] commit: libvlc_log_clear: looks totally broken. (Jean-Paul Saman )
git version control
git at videolan.org
Mon Feb 9 23:23:04 CET 2009
vlc | branch: master | Jean-Paul Saman <jpsaman at videolan.org> | Mon Feb 9 22:11:50 2009 +0100| [2fd49e5a3d7057e9ca4543f7221041125ee57459] | committer: Jean-Paul Saman
libvlc_log_clear: looks totally broken.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2fd49e5a3d7057e9ca4543f7221041125ee57459
---
src/control/log.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/control/log.c b/src/control/log.c
index 6616dfe..96ef452 100644
--- a/src/control/log.c
+++ b/src/control/log.c
@@ -144,10 +144,10 @@ void libvlc_log_clear( libvlc_log_t *p_log, libvlc_exception_t *p_e )
{
if( p_log )
{
- vlc_spin_lock (&p_log->data.lock);
+ /*vlc_spin_lock (&p_log->data.lock);*/
p_log->data.count = 0;
/* FIXME: release items */
- vlc_spin_unlock (&p_log->data.lock);
+ /*vlc_spin_unlock (&p_log->data.lock);*/
}
else
RAISEVOID("Invalid log object!");
More information about the vlc-devel
mailing list