# Libraries
#
ifneq (,$(findstring mingw32,$(SYS)))
-LIB += -lws2_32 -lnetapi32 -lmsvcrt40
+LIB += -lws2_32 -lnetapi32
endif
LIB += -L/usr/local/lib @LIB@
* thread, and destroy a previously oppened video output thread.
*****************************************************************************
* Copyright (C) 2000 VideoLAN
- * $Id: video_output.c,v 1.137 2001/08/14 00:00:04 sam Exp $
+ * $Id: video_output.c,v 1.138 2001/08/22 21:18:43 gbazin Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
*
/* Computes FPS rate */
p_vout->p_fps_sample[ p_vout->c_fps_samples++ % VOUT_FPS_SAMPLES ] = display_date;
- if( display_date < current_date - p_vout->render_time )
+ if( display_date < current_date + p_vout->render_time )
{
/* Picture is late: it will be destroyed and the thread
* will sleep and go to next picture */