while browsing plugins (modules.o, it seems).
Oh, btw, stats won't work under win32, since <sys/times.h> and the
function times don't seem to exist.
Sam, may I speak with you tomorrow about modules.c ?
* decoders.
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
- * $Id: input.c,v 1.136 2001/10/03 02:19:21 tcastley Exp $
+ * $Id: input.c,v 1.137 2001/10/03 03:32:05 xav Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
# include <sys/socket.h>
#endif
+#ifdef WIN32
+#else
#include <sys/times.h>
+#endif
#include "config.h"
#include "common.h"
if( p_main->b_stats )
{
/* Display statistics */
+ #ifndef WIN32
struct tms cpu_usage;
times( &cpu_usage );
cpu_usage.tms_utime, cpu_usage.tms_stime );
input_DumpStream( p_input );
+ #endif
}
/* Free all ES and destroy all decoder threads */
* video_parser.c : video parser thread
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
- * $Id: video_parser.c,v 1.6 2001/10/01 16:18:49 massiot Exp $
+ * $Id: video_parser.c,v 1.7 2001/10/03 03:32:05 xav Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Samuel Hocevar <sam@via.ecp.fr>
#include <errno.h>
#include <string.h>
+#ifndef WIN32
#include <sys/times.h>
+#endif
#include "config.h"
#include "common.h"
if( p_main->b_stats )
{
+ #ifndef WIN32
struct tms cpu_usage;
times( &cpu_usage );
S.i_scalable_mode ? "scalable" : "non-scalable",
S.i_matrix_coefficients );
#undef S
+ #endif
}
/* Dispose of matrices if they have been allocated. */
* thread, and destroy a previously oppened video output thread.
*****************************************************************************
* Copyright (C) 2000 VideoLAN
- * $Id: video_output.c,v 1.141 2001/10/01 16:18:49 massiot Exp $
+ * $Id: video_output.c,v 1.142 2001/10/03 03:32:05 xav Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
*
#include <stdio.h> /* sprintf() */
#include <string.h> /* strerror() */
+#ifndef WIN32
#include <sys/times.h>
+#endif
#include "config.h"
#include "common.h"
if( p_main->b_stats )
{
+ #ifndef WIN32
struct tms cpu_usage;
times( &cpu_usage );
p_vout->c_pictures, p_vout->c_late_pictures );
intf_StatMsg( "vout info: average display jitter of %lld µs",
p_vout->display_jitter );
+ #endif
}
/* Destroy all remaining pictures and subpictures */