Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
30c31e8c
Commit
30c31e8c
authored
Nov 12, 2001
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New --channelserver switch.
parent
693e4708
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
src/interface/main.c
src/interface/main.c
+7
-1
No files found.
src/interface/main.c
View file @
30c31e8c
...
...
@@ -4,7 +4,7 @@
* and spawn threads.
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
* $Id: main.c,v 1.12
1 2001/11/05 15:22:44
massiot Exp $
* $Id: main.c,v 1.12
2 2001/11/12 12:54:16
massiot Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -123,6 +123,7 @@
#define OPT_SERVER 171
#define OPT_PORT 172
#define OPT_BROADCAST 173
#define OPT_CHANNELSERVER 174
#define OPT_INPUT 180
#define OPT_MOTION 181
...
...
@@ -210,6 +211,7 @@ static const struct option longopts[] =
{
"port"
,
1
,
0
,
OPT_PORT
},
{
"broadcast"
,
1
,
0
,
OPT_BROADCAST
},
{
"channels"
,
0
,
0
,
OPT_CHANNELS
},
{
"channelserver"
,
1
,
0
,
OPT_CHANNELSERVER
},
/* Synchro options */
{
"synchro"
,
1
,
0
,
OPT_SYNCHRO
},
...
...
@@ -781,6 +783,9 @@ static int GetConfiguration( int *pi_argc, char *ppsz_argv[], char *ppsz_env[] )
case
OPT_CHANNELS
:
/* --channels */
main_PutIntVariable
(
INPUT_NETWORK_CHANNEL_VAR
,
1
);
break
;
case
OPT_CHANNELSERVER
:
/* --channelserver */
main_PutPszVariable
(
INPUT_CHANNEL_SERVER_VAR
,
optarg
);
break
;
case
OPT_SERVER
:
/* --server */
main_PutPszVariable
(
INPUT_SERVER_VAR
,
optarg
);
break
;
...
...
@@ -903,6 +908,7 @@ static void Usage( int i_fashion )
"
\n
"
"
\n
--input
\t
input method"
"
\n
--channels
\t
enable channels"
"
\n
--channelserver <host>
\t
channel server address"
"
\n
--server <host>
\t
video server address"
"
\n
--port <port>
\t
video server port"
"
\n
--broadcast
\t
listen to a broadcast"
...
...
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