diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2017-05-01 09:32:32 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2017-05-01 09:32:32 +0200 |
commit | 073268bd45a4a36e0d20ba1a60d585e9cae13e30 (patch) | |
tree | 65f8eba2ba526aeac251d1d1756abfac18cfee3d /ci.c | |
parent | 7cfce2fffa067a702af4e3b18e52e7d631dc006c (diff) | |
download | vdr-073268bd45a4a36e0d20ba1a60d585e9cae13e30.tar.gz vdr-073268bd45a4a36e0d20ba1a60d585e9cae13e30.tar.bz2 |
CAMs are now sent a generated EIT packet that contains a single 'present event' for the current SID, in order to avoid any parental rating dialogs
Diffstat (limited to 'ci.c')
-rw-r--r-- | ci.c | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: ci.c 4.13 2017/04/26 09:18:26 kls Exp $ + * $Id: ci.c 4.14 2017/05/01 09:26:12 kls Exp $ */ #include "ci.h" @@ -2424,6 +2424,17 @@ uchar *cCamSlot::Decrypt(uchar *Data, int &Count) return Data; } +bool cCamSlot::Inject(uchar *Data, int Count) +{ + return true; +} + +void cCamSlot::InjectEit(int Sid) +{ + cEitGenerator Eit(Sid); + Inject(Eit.Data(), Eit.Length()); +} + // --- cCamSlots ------------------------------------------------------------- cCamSlots CamSlots; |