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
d9f41e06
Commit
d9f41e06
authored
Oct 24, 2009
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* dvb.c: Diseqc support (based on patch #5 with extended msleep()s).
parent
d0885e01
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
234 additions
and
265 deletions
+234
-265
NEWS
NEWS
+1
-0
dvb.c
dvb.c
+224
-263
dvblast.c
dvblast.c
+8
-2
dvblast.h
dvblast.h
+1
-0
No files found.
NEWS
View file @
d9f41e06
...
...
@@ -9,3 +9,4 @@ Changes between 1.0 and 1.1:
* EIT and SDT pass-through for EPG information
* Original TSID kept (randomized TSID via -T)
* Miscellaneous CAM and tuning fixes
* DVB-S diseqc support
dvb.c
View file @
d9f41e06
This diff is collapsed.
Click to expand it.
dvblast.c
View file @
d9f41e06
...
...
@@ -50,6 +50,7 @@ int i_adapter = 0;
int
i_fenum
=
0
;
int
i_frequency
=
0
;
int
i_srate
=
27500000
;
int
i_satnum
=
0
;
int
i_voltage
=
13
;
int
b_tone
=
0
;
int
i_bandwidth
=
8
;
...
...
@@ -192,10 +193,11 @@ static void SigHandler( int i_signal )
*****************************************************************************/
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_num
>] -f <frequency> [-s <symbol rate>] [-v <0|13|18>] [-p] [-b <bandwidth>] [-m <modulation] [-u] [-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] [-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
,
" -v: voltage to apply to the LNB (QPSK)"
);
msg_Raw
(
NULL
,
" -p: force 22kHz pulses for high-band selection (DVB-S)"
);
msg_Raw
(
NULL
,
" -S: satellite number for diseqc (0: no diseqc, 1-4, A or B)"
);
msg_Raw
(
NULL
,
" -m: DVB-C qpsk|qam_16|qam_32|qam_64|qam_128|qam_256 (default qam_auto)"
);
msg_Raw
(
NULL
,
" DVB-T qam_16|qam_32|qam_64|qam_128|qam_256 (default qam_auto)"
);
msg_Raw
(
NULL
,
" DVB-S2 qpsk|psk_8 (default legacy DVB-S)"
);
...
...
@@ -218,7 +220,7 @@ int main( int i_argc, char **pp_argv )
msg_Warn
(
NULL
,
"restarting"
);
while
(
(
c
=
getopt
(
i_argc
,
pp_argv
,
"q::c:r:t:o:i:a:n:f:s:v:pb:m:uUTd:eh"
))
!=
(
int
)
EOF
)
while
(
(
c
=
getopt
(
i_argc
,
pp_argv
,
"q::c:r:t:o:i:a:n:f:s:
S:
v:pb:m:uUTd:eh"
))
!=
(
int
)
EOF
)
{
switch
(
c
)
{
...
...
@@ -286,6 +288,10 @@ int main( int i_argc, char **pp_argv )
i_srate
=
strtol
(
optarg
,
NULL
,
0
);
break
;
case
'S'
:
i_satnum
=
strtol
(
optarg
,
NULL
,
16
);
break
;
case
'v'
:
i_voltage
=
strtol
(
optarg
,
NULL
,
0
);
break
;
...
...
dvblast.h
View file @
d9f41e06
...
...
@@ -89,6 +89,7 @@ extern int i_adapter;
extern
int
i_fenum
;
extern
int
i_frequency
;
extern
int
i_srate
;
extern
int
i_satnum
;
extern
int
i_voltage
;
extern
int
b_tone
;
extern
int
i_bandwidth
;
...
...
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