Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dvblast
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
dvblast
Commits
1a39a97b
Commit
1a39a97b
authored
Dec 21, 2009
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* dvblast.c: Add -V for printing the version only; bail out if unknown args are passed.
parent
8cd345d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
dvblast.c
dvblast.c
+12
-4
No files found.
dvblast.c
View file @
1a39a97b
...
@@ -211,7 +211,7 @@ static void DisplayVersion()
...
@@ -211,7 +211,7 @@ static void DisplayVersion()
*****************************************************************************/
*****************************************************************************/
void
usage
()
void
usage
()
{
{
msg_Raw
(
NULL
,
"Usage: dvblast [-q]
-c <config file>
[-r <remote socket>] [-t <ttl>] [-o <SSRC IP>] [-i <RT priority>] [-a <adapter>] [-n <frontend number>] [-S <diseqc>] -f <frequency> [-s <symbol rate>] [-v <0|13|18>] [-p] [-b <bandwidth>] [-m <modulation] [-u] [-W] [-U] [-d <dest IP:port>] [-e] [-T]"
);
msg_Raw
(
NULL
,
"Usage: dvblast [-q]
[-c <config file>]
[-r <remote socket>] [-t <ttl>] [-o <SSRC IP>] [-i <RT priority>] [-a <adapter>] [-n <frontend number>] [-S <diseqc>] -f <frequency> [-s <symbol rate>] [-v <0|13|18>] [-p] [-b <bandwidth>] [-m <modulation] [-u] [-W] [-U] [-d <dest IP:port>] [-e] [-T]"
);
msg_Raw
(
NULL
,
" -q: be quiet (less verbosity, repeat or use number for even quieter)"
);
msg_Raw
(
NULL
,
" -q: be quiet (less verbosity, repeat or use number for even quieter)"
);
msg_Raw
(
NULL
,
" -v: voltage to apply to the LNB (QPSK)"
);
msg_Raw
(
NULL
,
" -v: voltage to apply to the LNB (QPSK)"
);
msg_Raw
(
NULL
,
" -p: force 22kHz pulses for high-band selection (DVB-S)"
);
msg_Raw
(
NULL
,
" -p: force 22kHz pulses for high-band selection (DVB-S)"
);
...
@@ -225,6 +225,8 @@ void usage()
...
@@ -225,6 +225,8 @@ void usage()
msg_Raw
(
NULL
,
" -d: duplicate all received packets to a given destination"
);
msg_Raw
(
NULL
,
" -d: duplicate all received packets to a given destination"
);
msg_Raw
(
NULL
,
" -e: enable EPG pass through (EIT data)"
);
msg_Raw
(
NULL
,
" -e: enable EPG pass through (EIT data)"
);
msg_Raw
(
NULL
,
" -T: generate unique TS ID for each program"
);
msg_Raw
(
NULL
,
" -T: generate unique TS ID for each program"
);
msg_Raw
(
NULL
,
" -h: display this full help"
);
msg_Raw
(
NULL
,
" -V: only display the version"
);
exit
(
1
);
exit
(
1
);
}
}
...
@@ -239,9 +241,7 @@ int main( int i_argc, char **pp_argv )
...
@@ -239,9 +241,7 @@ int main( int i_argc, char **pp_argv )
if
(
i_argc
==
1
)
if
(
i_argc
==
1
)
usage
();
usage
();
msg_Warn
(
NULL
,
"restarting"
);
while
(
(
c
=
getopt
(
i_argc
,
pp_argv
,
"q::c:r:t:o:i:a:n:f:s:S:v:pb:m:uWUTd:ehV"
))
!=
-
1
)
while
(
(
c
=
getopt
(
i_argc
,
pp_argv
,
"q::c:r:t:o:i:a:n:f:s:S:v:pb:m:uWUTd:eh"
))
!=
-
1
)
{
{
switch
(
c
)
switch
(
c
)
{
{
...
@@ -365,11 +365,19 @@ int main( int i_argc, char **pp_argv )
...
@@ -365,11 +365,19 @@ int main( int i_argc, char **pp_argv )
b_unique_tsid
=
1
;
b_unique_tsid
=
1
;
break
;
break
;
case
'V'
:
exit
(
0
);
break
;
case
'h'
:
case
'h'
:
default:
default:
usage
();
usage
();
}
}
}
}
if
(
optind
<
i_argc
)
usage
();
msg_Warn
(
NULL
,
"restarting"
);
if
(
b_output_udp
)
if
(
b_output_udp
)
{
{
...
...
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