Commit 072f4a52 authored by Christophe Massiot's avatar Christophe Massiot

* Retirage du #define STATS ;

* Le warning (late pictures) du vout est d�sormais un DbgMsg (en
attendant les WarnMsg) ;
* Correction d'un bug en mode debug (sic).
parent bad6f235
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
/* Define for profiling and statistics support - such informations, like FPS /* Define for profiling and statistics support - such informations, like FPS
* or pictures count won't be available if it not set */ * or pictures count won't be available if it not set */
#define STATS //#define STATS
/* Define for unthreaded version of the program FIXME: not yet implemented ??*/ /* Define for unthreaded version of the program FIXME: not yet implemented ??*/
//#define NO_THREAD //#define NO_THREAD
......
...@@ -1012,7 +1012,7 @@ static void RunThread( vout_thread_t *p_vout) ...@@ -1012,7 +1012,7 @@ static void RunThread( vout_thread_t *p_vout)
p_pic->i_status = DESTROYED_PICTURE; p_pic->i_status = DESTROYED_PICTURE;
p_vout->i_pictures--; p_vout->i_pictures--;
} }
intf_ErrMsg( "warning: late picture skipped (%p)\n", p_pic ); intf_DbgMsg( "warning: late picture skipped (%p)\n", p_pic );
vlc_mutex_unlock( &p_vout->picture_lock ); vlc_mutex_unlock( &p_vout->picture_lock );
continue; continue;
...@@ -1154,14 +1154,6 @@ static void RunThread( vout_thread_t *p_vout) ...@@ -1154,14 +1154,6 @@ static void RunThread( vout_thread_t *p_vout)
/* Give back change lock */ /* Give back change lock */
vlc_mutex_unlock( &p_vout->change_lock ); vlc_mutex_unlock( &p_vout->change_lock );
#ifdef DEBUG_VIDEO
{
char psz_date[MSTRTIME_MAX_SIZE];
intf_DbgMsg( "picture %p waiting until %s\n", p_pic,
mstrtime(psz_date, display_date),
}
#endif
/* Sleep a while or until a given date */ /* Sleep a while or until a given date */
if( display_date != 0 ) if( display_date != 0 )
{ {
......
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