- March 24, 2007
- 12,073
- 7,459
- Home Country
- Germany
- Moderator
- #11
Technotrend CI patch
This patch fixes some issues using CI for technotrend cards (at least for me using TT C-1500 with CI):
the first try to decode a scrambled channel did always fail after :
- reboot of windows
- resume from standby
- restart of tvservice
with message "no ca resource available" when setting channel, from the second try it always worked.
The message does still exists, but now the correct status is return to calling methods.
Technotrend.cpp
- added workaround for first time accessing CI slot, when the status is "unknown". I added a "retry loop", max 20 * 100ms (the status 0 "no cam detected" is not affected)
- corrected return values in DescrambleMultiple when decoding failed because of m_ciStatus!=1 (it returned TRUE)
Technotrend.cs
- IsCamReady did always return true; now it querys the interface method
This patch fixes some issues using CI for technotrend cards (at least for me using TT C-1500 with CI):
the first try to decode a scrambled channel did always fail after :
- reboot of windows
- resume from standby
- restart of tvservice
with message "no ca resource available" when setting channel, from the second try it always worked.
The message does still exists, but now the correct status is return to calling methods.
Technotrend.cpp
- added workaround for first time accessing CI slot, when the status is "unknown". I added a "retry loop", max 20 * 100ms (the status 0 "no cam detected" is not affected)
- corrected return values in DescrambleMultiple when decoding failed because of m_ciStatus!=1 (it returned TRUE)
Technotrend.cs
- IsCamReady did always return true; now it querys the interface method