[vlc-commits] Remove some debug
Rémi Denis-Courmont
git at videolan.org
Mon Sep 5 19:43:01 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Sep 5 20:36:56 2011 +0300| [976c7dd2367edd68648b01fde81eddef7bbef5db] | committer: Rémi Denis-Courmont
Remove some debug
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=976c7dd2367edd68648b01fde81eddef7bbef5db
---
modules/codec/wmafixed/wma.c | 6 ------
modules/gui/qt4/components/interface_widgets.cpp | 4 ----
modules/gui/qt4/util/customwidgets.cpp | 7 -------
3 files changed, 0 insertions(+), 17 deletions(-)
diff --git a/modules/codec/wmafixed/wma.c b/modules/codec/wmafixed/wma.c
index bc433ce..d322aa6 100644
--- a/modules/codec/wmafixed/wma.c
+++ b/modules/codec/wmafixed/wma.c
@@ -197,9 +197,6 @@ static aout_buffer_t *DecodeFrame( decoder_t *p_dec, block_t **pp_block )
decoder_sys_t *p_sys = p_dec->p_sys;
block_t *p_block = *pp_block;
aout_buffer_t *p_aout_buffer = NULL;
-#ifdef NDEBUG
- mtime_t start = mdate(); /* for statistics */
-#endif
if( !p_block ) return NULL;
@@ -300,9 +297,6 @@ static aout_buffer_t *DecodeFrame( decoder_t *p_dec, block_t **pp_block )
p_aout_buffer = SplitBuffer( p_dec );
assert( p_aout_buffer );
-#ifdef NDEBUG
- msg_Dbg( p_dec, "%s took %"PRIi64" us",__func__,mdate()-start);
-#endif
return p_aout_buffer;
}
diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp
index 71466b0..86d6ad6 100644
--- a/modules/gui/qt4/components/interface_widgets.cpp
+++ b/modules/gui/qt4/components/interface_widgets.cpp
@@ -144,10 +144,6 @@ WId VideoWidget::request( int *pi_x, int *pi_y,
XSelectInput( dpy, w, attr.your_event_mask );
#endif
sync();
-#ifndef NDEBUG
- msg_Dbg( p_intf, "embedded video ready (handle %p)",
- (void *)stable->winId() );
-#endif
return stable->winId();
}
diff --git a/modules/gui/qt4/util/customwidgets.cpp b/modules/gui/qt4/util/customwidgets.cpp
index 8240c6d..76f2a35 100644
--- a/modules/gui/qt4/util/customwidgets.cpp
+++ b/modules/gui/qt4/util/customwidgets.cpp
@@ -337,18 +337,11 @@ void AnimatedIcon::play( int loops, int interval )
{
if( interval < 20 )
{
-#ifndef NDEBUG
- printf( "AnimatedIcon::play(): interval is too short (%d ms)",
- interval );
-#endif
interval = 20;
}
if( !mIdleFrame && (mFrames.isEmpty() || loops != 0 ) )
{
-#ifndef NDEBUG
- printf( "AnimatedIcon::play(): no frames to display" );
-#endif
return;
}
More information about the vlc-commits
mailing list