[mythtv-commits] [MythTV/mythtv] aa683a: CI/CAM: Connection establishment for not spec comp...
kmdewaal
noreply at github.com
Tue Aug 24 12:57:54 UTC 2021
Branch: refs/heads/master
Home: https://github.com/MythTV/mythtv
Commit: aa683a9e5931c54941251fbef8495f20727373a1
https://github.com/MythTV/mythtv/commit/aa683a9e5931c54941251fbef8495f20727373a1
Author: Klaas de Waal <kdewaal at mythtv.org>
Date: 2021-08-24 (Tue, 24 Aug 2021)
Changed paths:
M mythtv/libs/libmythtv/recorders/dvbdev/dvbci.cpp
Log Message:
-----------
CI/CAM: Connection establishment for not spec compliant CAMs broken
This is for MythTV 0.27.1.
I do have a CAM that unconditionally sends T_SB for tcid 2 on connection open which is not spec compliant.
MythTV basically provisions for such cases in cCiTransportConnection::CreateConnection?().
However, cCiTransportConnection::RecvTPDU() breaks this as it unconditionally calls Init() on
any "error", thus resetting the processing state from CREATION to IDLE.
The attached patch fixes this for my case and should be seen as a sample workaround.
Actually some interworking between CreateConnection?() and RecvTPDU() is required to handle
the retry cases in state CREATION properly.
20210824 Tested on today's master.
Fixes #trac-12184
More information about the mythtv-commits
mailing list