Commit 976c7dd2 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove some debug

parent a7f6a75d
...@@ -197,9 +197,6 @@ static aout_buffer_t *DecodeFrame( decoder_t *p_dec, block_t **pp_block ) ...@@ -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; decoder_sys_t *p_sys = p_dec->p_sys;
block_t *p_block = *pp_block; block_t *p_block = *pp_block;
aout_buffer_t *p_aout_buffer = NULL; aout_buffer_t *p_aout_buffer = NULL;
#ifdef NDEBUG
mtime_t start = mdate(); /* for statistics */
#endif
if( !p_block ) return NULL; if( !p_block ) return NULL;
...@@ -300,9 +297,6 @@ static aout_buffer_t *DecodeFrame( decoder_t *p_dec, block_t **pp_block ) ...@@ -300,9 +297,6 @@ static aout_buffer_t *DecodeFrame( decoder_t *p_dec, block_t **pp_block )
p_aout_buffer = SplitBuffer( p_dec ); p_aout_buffer = SplitBuffer( p_dec );
assert( p_aout_buffer ); assert( p_aout_buffer );
#ifdef NDEBUG
msg_Dbg( p_dec, "%s took %"PRIi64" us",__func__,mdate()-start);
#endif
return p_aout_buffer; return p_aout_buffer;
} }
......
...@@ -144,10 +144,6 @@ WId VideoWidget::request( int *pi_x, int *pi_y, ...@@ -144,10 +144,6 @@ WId VideoWidget::request( int *pi_x, int *pi_y,
XSelectInput( dpy, w, attr.your_event_mask ); XSelectInput( dpy, w, attr.your_event_mask );
#endif #endif
sync(); sync();
#ifndef NDEBUG
msg_Dbg( p_intf, "embedded video ready (handle %p)",
(void *)stable->winId() );
#endif
return stable->winId(); return stable->winId();
} }
......
...@@ -337,18 +337,11 @@ void AnimatedIcon::play( int loops, int interval ) ...@@ -337,18 +337,11 @@ void AnimatedIcon::play( int loops, int interval )
{ {
if( interval < 20 ) if( interval < 20 )
{ {
#ifndef NDEBUG
printf( "AnimatedIcon::play(): interval is too short (%d ms)",
interval );
#endif
interval = 20; interval = 20;
} }
if( !mIdleFrame && (mFrames.isEmpty() || loops != 0 ) ) if( !mIdleFrame && (mFrames.isEmpty() || loops != 0 ) )
{ {
#ifndef NDEBUG
printf( "AnimatedIcon::play(): no frames to display" );
#endif
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment