Mikko Salo wrote: > On Sun, 2005-11-13 at 15:16 +0100, Klaus Schmidinger wrote: > >>Now the reason why I am providing this patch is that I'd >>like to invite you folks to try this out and maybe see what >>might be wrong here. The problem is that whenever a channel >>is added or removed from the CA_PMT data, there are distortions >>in the recordings. > > > I tested this patch with my single Technotrend DVB-C Premium 2.1 card + > Conax 4.00e CAM and "not-so-vanilla" vdr version, with vdr-1.3.36 and > dozen of plugins and patches to those. > > >>So from this I would expect no distortions to happen when adding/removing >>channels from the list of CA_PMT objects. >> >>Now there is either a flaw in my code, or my CAM just doesn't work >>as required by the standard. >> >>Any hints here are appreciated. >> >>Klaus > > > Not that I can give you any hint, only report what happened... > > Recording another and watching another encrypted channel at the same > time is possible, but gives very much same distortions as you described. > Recording is jumpy and the livestream hangs in ~1-2 second periods. > > Hope that I can help somehow. Hi Mikko, if you have only one CAM in a CI adapter with two slots, then the line newCaSupport = true; at the end of cCiHandler::SendCaPmt() could be triggering the jumpy live stream. Could you please try without this line? Klaus