Ticket #12184: 20210808-trac-12184-cam-init-workaround.patch

File 20210808-trac-12184-cam-init-workaround.patch, 558 bytes (added by Klaas de Waal, 16 months ago)

Patch updated for today's master. Under test.

  • mythtv/libs/libmythtv/recorders/dvbdev/dvbci.cpp

    diff --git a/mythtv/libs/libmythtv/recorders/dvbdev/dvbci.cpp b/mythtv/libs/libmythtv/recorders/dvbdev/dvbci.cpp
    index d94bd42f5c..bce5466e6f 100644
    a b int cCiTransportConnection::RecvTPDU(void) 
    503503     }
    504504  else {
    505505     esyslog("ERROR: CAM: Read failed: slot %d, tcid %d\n", m_slot, m_tcid);
    506      Init(-1, m_slot, m_tcid);
     506     if (m_tpdu->Tcid() == m_tcid)
     507        Init(-1, m_slot, m_tcid);
    507508     }
    508509  return m_lastResponse;
    509510}