mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
frontend.cpp: test to fix transponder change detect for nvod
This commit is contained in:
@@ -978,9 +978,13 @@ void CFrontend::positionMotor(uint8_t motorPosition)
|
||||
bool CFrontend::setInput(CZapitChannel * channel, bool nvod)
|
||||
{
|
||||
transponder_list_t::iterator tpI;
|
||||
transponder_id_t ct = channel->getTransponderId();
|
||||
//transponder_id_t ct = channel->getTransponderId();
|
||||
transponder_id_t ct = nvod ? (channel->getTransponderId() & 0xFFFFFFFFULL) : channel->getTransponderId();
|
||||
transponder_id_t current_id = nvod ? (currentTransponder.TP_id & 0xFFFFFFFFULL) : currentTransponder.TP_id;
|
||||
//printf("CFrontend::setInput tuned %d nvod %d current_id %llx new %llx\n\n", tuned, nvod, current_id, ct);
|
||||
|
||||
if (tuned && (ct == currentTransponder.TP_id))
|
||||
//if (tuned && (ct == currentTransponder.TP_id))
|
||||
if (tuned && (ct == current_id))
|
||||
return false;
|
||||
|
||||
if (nvod) {
|
||||
|
Reference in New Issue
Block a user