Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
e584575d
Commit
e584575d
authored
May 27, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* video_output/snapshot.c, control/netsync.c: added svn:keywords Id prop.
* control/netsync.c: small fix.
parent
d52bc163
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
modules/control/netsync.c
modules/control/netsync.c
+9
-2
No files found.
modules/control/netsync.c
View file @
e584575d
...
...
@@ -2,7 +2,7 @@
* netsync.c: synchronisation between several network clients.
*****************************************************************************
* Copyright (C) 2004 VideoLAN
* $Id
: ntservice.c 6963 2004-03-05 19:24:14Z murray
$
* $Id$
*
* Authors: Gildas Bazin <gbazin@videolan.org>
*
...
...
@@ -113,6 +113,13 @@ static int Activate( vlc_object_t *p_this )
msg_Info
(
p_intf
,
"Using the netsync interface module..."
);
p_intf
->
p_sys
=
malloc
(
sizeof
(
intf_sys_t
)
);
if
(
!
p_intf
->
p_sys
)
{
msg_Err
(
p_intf
,
"no memory"
);
return
VLC_ENOMEM
;
}
p_intf
->
p_sys
->
p_input
=
NULL
;
p_intf
->
pf_run
=
Run
;
return
VLC_SUCCESS
;
...
...
@@ -141,7 +148,7 @@ static void Run( intf_thread_t *p_intf )
char
p_data
[
MAX_MSG_LENGTH
];
int
i_socket
;
if
(
!
psz_master
||
inet_addr
(
psz_master
)
==
INADDR_NONE
)
if
(
!
b_master
&&
(
!
psz_master
||
inet_addr
(
psz_master
)
==
INADDR_NONE
)
)
{
if
(
psz_master
)
free
(
psz_master
);
msg_Err
(
p_intf
,
"invalid master address."
);
...
...
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