mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
small fix, no changes
Conflicts: src/zapit/src/frontend.cpp
This commit is contained in:
@@ -1602,7 +1602,6 @@ bool CFrontend::buildProperties(const FrontendParameters *feparams, struct dtv_p
|
|||||||
if (feparams->delsys == DVB_S2) {
|
if (feparams->delsys == DVB_S2) {
|
||||||
nrOfProps = FE_DVBS2_PROPS;
|
nrOfProps = FE_DVBS2_PROPS;
|
||||||
memcpy(cmdseq.props, dvbs2_cmdargs, sizeof(dvbs2_cmdargs));
|
memcpy(cmdseq.props, dvbs2_cmdargs, sizeof(dvbs2_cmdargs));
|
||||||
|
|
||||||
cmdseq.props[MODULATION].u.data = feparams->modulation;
|
cmdseq.props[MODULATION].u.data = feparams->modulation;
|
||||||
cmdseq.props[ROLLOFF].u.data = feparams->rolloff;
|
cmdseq.props[ROLLOFF].u.data = feparams->rolloff;
|
||||||
cmdseq.props[PILOTS].u.data = pilot;
|
cmdseq.props[PILOTS].u.data = pilot;
|
||||||
@@ -1610,27 +1609,27 @@ bool CFrontend::buildProperties(const FrontendParameters *feparams, struct dtv_p
|
|||||||
cmdseq.props[MIS].u.data = feparams->plp_id | (feparams->pls_code << 8) | (feparams->pls_mode << 26);
|
cmdseq.props[MIS].u.data = feparams->plp_id | (feparams->pls_code << 8) | (feparams->pls_mode << 26);
|
||||||
#endif
|
#endif
|
||||||
if (zapit_debug)
|
if (zapit_debug)
|
||||||
printf("[fe%d/%d] tuner pilot %d (feparams %d)\n", adapter, fenumber, pilot, feparams->pilot);
|
printf("[fe%d/%d] tuner pilot %d (feparams %d) streamid (%d/%d/%d)\n", adapter, fenumber, pilot, feparams->pilot, feparams->plp_id, feparams->pls_code, feparams->pls_mode);
|
||||||
} else {
|
} else {
|
||||||
memcpy(cmdseq.props, dvbs_cmdargs, sizeof(dvbs_cmdargs));
|
memcpy(cmdseq.props, dvbs_cmdargs, sizeof(dvbs_cmdargs));
|
||||||
nrOfProps = FE_DVBS_PROPS;
|
nrOfProps = FE_DVBS_PROPS;
|
||||||
}
|
}
|
||||||
cmdseq.props[FREQUENCY].u.data = feparams->frequency;
|
cmdseq.props[FREQUENCY].u.data = feparams->frequency;
|
||||||
cmdseq.props[SYMBOL_RATE].u.data= feparams->symbol_rate;
|
cmdseq.props[SYMBOL_RATE].u.data = feparams->symbol_rate;
|
||||||
cmdseq.props[INNER_FEC].u.data = fec; /*_inner*/ ;
|
cmdseq.props[INNER_FEC].u.data = fec; /*_inner*/
|
||||||
break;
|
break;
|
||||||
case DVB_S2X:
|
case DVB_S2X:
|
||||||
nrOfProps = FE_DVBS2X_PROPS;
|
nrOfProps = FE_DVBS2X_PROPS;
|
||||||
memcpy(cmdseq.props, dvbs2x_cmdargs, sizeof(dvbs2x_cmdargs));
|
memcpy(cmdseq.props, dvbs2x_cmdargs, sizeof(dvbs2x_cmdargs));
|
||||||
cmdseq.props[MODULATION].u.data = feparams->modulation;
|
cmdseq.props[MODULATION].u.data = feparams->modulation;
|
||||||
cmdseq.props[ROLLOFF].u.data = feparams->rolloff;
|
cmdseq.props[ROLLOFF].u.data = feparams->rolloff;
|
||||||
cmdseq.props[PILOTS].u.data = pilot;
|
cmdseq.props[PILOTS].u.data = pilot;
|
||||||
cmdseq.props[MIS].u.data = feparams->plp_id | (feparams->pls_code << 8) | (feparams->pls_mode << 26);
|
cmdseq.props[MIS].u.data = feparams->plp_id | (feparams->pls_code << 8) | (feparams->pls_mode << 26);
|
||||||
if (zapit_debug)
|
if (zapit_debug)
|
||||||
printf("[fe%d/%d] tuner pilot %d (feparams %d) streamid (%d/%d/%d)\n", adapter, fenumber, pilot, feparams->pilot, feparams->plp_id, feparams->pls_code, feparams->pls_mode );
|
printf("[fe%d/%d] tuner pilot %d (feparams %d) streamid (%d/%d/%d)\n", adapter, fenumber, pilot, feparams->pilot, feparams->plp_id, feparams->pls_code, feparams->pls_mode);
|
||||||
cmdseq.props[FREQUENCY].u.data = feparams->frequency;
|
cmdseq.props[FREQUENCY].u.data = feparams->frequency;
|
||||||
cmdseq.props[SYMBOL_RATE].u.data = feparams->symbol_rate;
|
cmdseq.props[SYMBOL_RATE].u.data = feparams->symbol_rate;
|
||||||
cmdseq.props[INNER_FEC].u.data = fec; /*_inner*/ ;
|
cmdseq.props[INNER_FEC].u.data = fec; /*_inner*/
|
||||||
break;
|
break;
|
||||||
case DVB_C:
|
case DVB_C:
|
||||||
memcpy(cmdseq.props, dvbc_cmdargs, sizeof(dvbc_cmdargs));
|
memcpy(cmdseq.props, dvbc_cmdargs, sizeof(dvbc_cmdargs));
|
||||||
|
Reference in New Issue
Block a user