Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
454
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
b123e61f
Commit
b123e61f
authored
22 years ago
by
Cyril Deguet
Browse files
Options
Downloads
Patches
Plain Diff
- removed the obsolete artificial delay when switching channels.
Now it is ultra-fast !
parent
80aa3da1
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/misc/netutils.c
+6
-6
6 additions, 6 deletions
src/misc/netutils.c
with
6 additions
and
6 deletions
src/misc/netutils.c
+
6
−
6
View file @
b123e61f
...
...
@@ -2,7 +2,7 @@
* netutils.c: various network functions
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: netutils.c,v 1.6
5
2002/05/30
08:59:42 xav
Exp $
* $Id: netutils.c,v 1.6
6
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"
)
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment