[mythtv] [Q]: can someone point me to where myth "decides" if a stream is encrypted or not?

Janne Grunau janne-mythtv at grunau.be
Sun Jun 6 20:03:52 UTC 2010


On Sun, Jun 06, 2010 at 12:32:27PM -0400, Emmanuel wrote:
> Hi all,
> I actually want to do the following: there is one sat channel here which 
> is free that is no decryption is required whereas most channels are 
> encrypted. The problem is that this stream is flagged in the dvb tables 
> as encrypted and then myth tries, rightly so, to decrypt which does not  
> work.

MythTV doesn't try to decrypt packets, it waits until the packets aren't
marked as encrypted.

> SO my question is where is the code where the stream is detected

in libs/libmythtv/dtvsignalmonitor.cpp and
libs/libmythtv/mpeg/mpegstreamdata.cpp

> as needing decryption and how can I permanently change that (I could 
> even write a patch with a button in the setup to ask for that if others 
> need that sort of broken tables work-around).

That isn't just a tables problem. If the TS packets aren't marked as encrypted
it's a bug since MythTV should handle this case fine. Otherwise you have to
ignore the TS packet ScramplingControl flag in mpegstreamdata.

HTH Janne


More information about the mythtv-dev mailing list