Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
2da750df
Commit
2da750df
authored
Oct 30, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/control/netsync.c: less verbose.
parent
78e8995e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
modules/control/netsync.c
modules/control/netsync.c
+4
-0
No files found.
modules/control/netsync.c
View file @
2da750df
...
@@ -246,11 +246,13 @@ static void Run( intf_thread_t *p_intf )
...
@@ -246,11 +246,13 @@ static void Run( intf_thread_t *p_intf )
sendto
(
i_socket
,
p_data
,
2
*
sizeof
(
int64_t
),
0
,
sendto
(
i_socket
,
p_data
,
2
*
sizeof
(
int64_t
),
0
,
(
struct
sockaddr
*
)
&
from
,
i_struct_size
);
(
struct
sockaddr
*
)
&
from
,
i_struct_size
);
#if 0
msg_Dbg( p_intf, "Master clockref: "I64Fd" -> "I64Fd", from %s "
msg_Dbg( p_intf, "Master clockref: "I64Fd" -> "I64Fd", from %s "
"(date: "I64Fd")", i_clockref, i_master_clockref,
"(date: "I64Fd")", i_clockref, i_master_clockref,
from.ss_family == AF_INET
from.ss_family == AF_INET
? inet_ntoa(((struct sockaddr_in *)&from)->sin_addr)
? inet_ntoa(((struct sockaddr_in *)&from)->sin_addr)
: "non-IPv4", i_date );
: "non-IPv4", i_date );
#endif
}
}
else
else
{
{
...
@@ -308,10 +310,12 @@ static void Run( intf_thread_t *p_intf )
...
@@ -308,10 +310,12 @@ static void Run( intf_thread_t *p_intf )
p_intf
->
p_sys
->
p_input
->
i_pts_delay
-=
i_drift
;
p_intf
->
p_sys
->
p_input
->
i_pts_delay
-=
i_drift
;
}
}
#if 0
msg_Dbg( p_intf, "Slave clockref: "I64Fd" -> "I64Fd" -> "I64Fd", "
msg_Dbg( p_intf, "Slave clockref: "I64Fd" -> "I64Fd" -> "I64Fd", "
"clock diff: "I64Fd" drift: "I64Fd,
"clock diff: "I64Fd" drift: "I64Fd,
i_clockref, i_master_clockref,
i_clockref, i_master_clockref,
i_client_clockref, i_diff_date, i_drift );
i_client_clockref, i_diff_date, i_drift );
#endif
/* Wait a bit */
/* Wait a bit */
msleep
(
INTF_IDLE_SLEEP
);
msleep
(
INTF_IDLE_SLEEP
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment