1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00

undef bandwidth

add H/V as alternatives for h/v
This commit is contained in:
none 2020-01-16 10:45:02 +01:00
parent 75a4a733f2
commit b185b5fb66

View File

@ -29,7 +29,7 @@ int main(int argc, char **argv)
struct dddvb *dd; struct dddvb *dd;
struct dddvb_fe *fe; struct dddvb_fe *fe;
struct dddvb_params p; struct dddvb_params p;
uint32_t bandwidth = 8000000, frequency = 0, symbol_rate = 0, pol = DDDVB_UNDEF; uint32_t bandwidth = DDDVB_UNDEF, frequency = 0, symbol_rate = 0, pol = DDDVB_UNDEF;
uint32_t id = DDDVB_UNDEF, ssi = DDDVB_UNDEF, num = DDDVB_UNDEF, source = 0; uint32_t id = DDDVB_UNDEF, ssi = DDDVB_UNDEF, num = DDDVB_UNDEF, source = 0;
uint32_t mtype= DDDVB_UNDEF; uint32_t mtype= DDDVB_UNDEF;
uint32_t verbosity = 0; uint32_t verbosity = 0;
@ -147,9 +147,9 @@ int main(int argc, char **argv)
delsys = SYS_ISDBT; delsys = SYS_ISDBT;
break; break;
case 'p': case 'p':
if (!strcmp(optarg, "h")) if (!strcmp(optarg, "h") || !strcmp(optarg, "H"))
pol = 1; pol = 1;
if (!strcmp(optarg, "v")) if (!strcmp(optarg, "v") || !strcmp(optarg, "V"))
pol = 0; pol = 0;
break; break;
case 'h': case 'h':
@ -159,7 +159,7 @@ int main(int argc, char **argv)
" [-o (write dvr to stdout)]\n" " [-o (write dvr to stdout)]\n"
"\n" "\n"
" delivery_system = C,S,S2,T,T2,J83B,ISDBC,ISDBT\n" " delivery_system = C,S,S2,T,T2,J83B,ISDBC,ISDBT\n"
" polarity = h,v\n" " polarity = h/H,v/V\n"
"\n"); "\n");
exit(-1); exit(-1);
default: default: