-$Id: THANKS,v 1.7 2003/05/20 15:51:03 hartman Exp $
+$Id: THANKS,v 1.8 2003/05/24 11:53:12 sam Exp $
VLC makes extensive use of the following persons' code:
Jeffrey Baker <jwbaker@acm.org> - port of the ALSA plugin to the ALSA 1.0 API
Joel Arvidsson <dogai@privat.utfors.se> - Swedish translation
Joeri van Dooren <joeri@van.dooren.be> - OS X icon
+Johen Michael Zorko <zorko@att.net> - fix for delay issues in udp sout
John Paul Lorenti <jpl31@columbia.edu> - ALSA device selection patch
Julien Blache <jb@technologeek.org> - disc ejection code
Mark Gritter <mgritter@kealia.com> - fix for netlist packet leak in demuxPSI
* udp.c
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
- * $Id: udp.c,v 1.7 2003/04/01 22:29:41 massiot Exp $
+ * $Id: udp.c,v 1.8 2003/05/24 11:53:11 sam Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Eric Petit <titer@videolan.org>
return;
}
i_wait = i_date + p_buffer->i_dts;
- mwait( i_wait );
if( i_wait - mdate() > MAX_ERROR ||
i_wait - mdate() < -MAX_ERROR )
msg_Warn( p_sout, "resetting clock" );
i_date = mdate() - p_buffer->i_dts;
}
+ else
+ {
+ mwait( i_wait );
+ }
+
send( p_thread->i_handle,
p_buffer->p_buffer,
p_buffer->i_size,