From: leslie Date: Tue, 6 Sep 2011 13:04:24 +0000 (+0800) Subject: fix CAM stop detection for VDR 1.7.11+ X-Git-Tag: upstream/620~31 X-Git-Url: http://www.vanbest.org/gitweb/?a=commitdiff_plain;h=ab14ba84c7d4991220d21ae8b7e562b5e452d452;p=sasc-ng.git fix CAM stop detection for VDR 1.7.11+ --- diff --git a/cam.c b/cam.c index f119bcf..6fc59f4 100644 --- a/cam.c +++ b/cam.c @@ -1947,7 +1947,7 @@ void cScCamSlot::Process(const unsigned char *data, int len) } } if(prg->sid!=0) { - if(ci_cmd==0x04) { + if(ci_cmd==0x04 || (ci_cmd==-1 && ca_lm==0x03)) { PRINTF(L_CORE_CI,"%s.%d stop decrypt",devId,slot); cam->Stop(); }