]> git.sesse.net Git - vlc/commitdiff
* Retirage du #define STATS ;
authorChristophe Massiot <massiot@videolan.org>
Mon, 13 Nov 2000 22:09:43 +0000 (22:09 +0000)
committerChristophe Massiot <massiot@videolan.org>
Mon, 13 Nov 2000 22:09:43 +0000 (22:09 +0000)
* Le warning (late pictures) du vout est d�sormais un DbgMsg (en
attendant les WarnMsg) ;
* Correction d'un bug en mode debug (sic).

include/config.h.in
src/video_output/video_output.c

index 3400baa5424d5389206b8268179331b46aabc6d8..0cc2c8ee26d0217018001f7feb63693894c257ee 100644 (file)
@@ -65,7 +65,7 @@
 
 /* Define for profiling and statistics support - such informations, like FPS
  * 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 NO_THREAD
index f34bc685aef5eedcc7db538761c8fb891e8b4831..855ad4c1a32b40649762424a8e36efa5d9dd4af7 100644 (file)
@@ -1012,7 +1012,7 @@ static void RunThread( vout_thread_t *p_vout)
                     p_pic->i_status = DESTROYED_PICTURE;
                     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 );
 
                continue;
@@ -1154,14 +1154,6 @@ static void RunThread( vout_thread_t *p_vout)
         /* Give back 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 */
         if( display_date != 0 )
         {