[vlc-devel] commit: i_verbose has been privatized ( Rafaël Carré )
git version control
git at videolan.org
Mon May 5 09:51:21 CEST 2008
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Mon May 5 09:29:24 2008 +0200| [c452d0794615bdf5f5fb5217e94763a1e4adc094]
i_verbose has been privatized
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c452d0794615bdf5f5fb5217e94763a1e4adc094
---
src/control/log.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/control/log.c b/src/control/log.c
index 182fb8b..61a7465 100644
--- a/src/control/log.c
+++ b/src/control/log.c
@@ -23,6 +23,7 @@
*****************************************************************************/
#include "libvlc_internal.h"
+#include "../libvlc.h"
#include <vlc/libvlc.h>
struct libvlc_log_t
@@ -43,7 +44,8 @@ unsigned libvlc_get_log_verbosity( const libvlc_instance_t *p_instance, libvlc_e
{
if( p_instance )
{
- return p_instance->p_libvlc_int->i_verbose;
+ libvlc_priv_t *p_priv = libvlc_priv( p_instance->p_libvlc_int );
+ return p_priv->i_verbose;
}
RAISEZERO("Invalid VLC instance!");
}
@@ -52,7 +54,8 @@ void libvlc_set_log_verbosity( libvlc_instance_t *p_instance, unsigned level, li
{
if( p_instance )
{
- p_instance->p_libvlc_int->i_verbose = level;
+ libvlc_priv_t *p_priv = libvlc_priv( p_instance->p_libvlc_int );
+ p_priv->i_verbose = level;
}
else
RAISEVOID("Invalid VLC instance!");
More information about the vlc-devel
mailing list