]> git.sesse.net Git - vlc/commitdiff
- removed the obsolete artificial delay when switching channels.
authorCyril Deguet <asmax@videolan.org>
Thu, 30 May 2002 13:22:43 +0000 (13:22 +0000)
committerCyril Deguet <asmax@videolan.org>
Thu, 30 May 2002 13:22:43 +0000 (13:22 +0000)
  Now it is ultra-fast !

src/misc/netutils.c

index 317c6fa8d26c8773d014b8405b35ac11b139e689..6dca65bb4deadf083122e292f076dded8c3c9f23 100644 (file)
@@ -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" ) )
     {