Fixes for QPSK muxes

This commit is contained in:
Andreas Öman 2008-04-09 09:39:50 +00:00
parent 6830f4e4cd
commit d0c98767e4

View file

@ -88,8 +88,8 @@ static struct strtab hiertab[] = {
};
static struct strtab poltab[] = {
{ "V", POLARISATION_VERTICAL },
{ "H", POLARISATION_HORIZONTAL },
{ "Vertical", POLARISATION_VERTICAL },
{ "Horizontal", POLARISATION_HORIZONTAL },
};
@ -226,7 +226,7 @@ dvb_mux_create_str(th_dvb_adapter_t *tda,
return "Invalid polarisation";
polarisation = r;
switchport = atoi(switchportstr);
switchport = atoi(switchportstr ?: "0");
break;
case FE_QAM: