[mythtv] [Q]: can someone point me to where myth "decides" if a stream is encrypted or not?
eallaud at gmail.com
Mon Jun 7 00:46:44 UTC 2010
Janne Grunau a écrit :
> 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
> 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
>> 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.
I'll try to see if the TS packets are marked or not. I'll see what I can
come up with.
More information about the mythtv-dev