Commit b123e61f authored by Cyril Deguet's avatar Cyril Deguet

- removed the obsolete artificial delay when switching channels.

  Now it is ultra-fast !
parent 80aa3da1
......@@ -2,7 +2,7 @@
* netutils.c: various network functions
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: netutils.c,v 1.65 2002/05/30 08:59:42 xav Exp $
* $Id: netutils.c,v 1.66 2002/05/30 13:22:43 asmax Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Benoit Steiner <benny@via.ecp.fr>
......@@ -165,14 +165,14 @@ int network_ChannelJoin( int i_channel )
}
/* If last change is too recent, wait a while */
if( mdate() - p_main->p_channel->last_change < INPUT_CHANNEL_CHANGE_DELAY )
{
intf_WarnMsg( 2, "network: waiting before changing channel" );
// if( mdate() - p_main->p_channel->last_change < INPUT_CHANNEL_CHANGE_DELAY )
// {
// intf_WarnMsg( 2, "network: waiting before changing channel" );
/* XXX Isn't this completely brain-damaged ??? -- Sam */
/* Yes it is. I don't think this is still justified with the new
* vlanserver --Meuuh */
mwait( p_main->p_channel->last_change + INPUT_CHANNEL_CHANGE_DELAY );
}
// mwait( p_main->p_channel->last_change + INPUT_CHANNEL_CHANGE_DELAY );
// }
if( config_GetIntVariable( "ipv4" ) )
{
......
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