From 073268bd45a4a36e0d20ba1a60d585e9cae13e30 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Mon, 1 May 2017 09:32:32 +0200 Subject: 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 --- ci.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'ci.c') diff --git a/ci.c b/ci.c index f64c17e3..def1530a 100644 --- a/ci.c +++ b/ci.c @@ -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; -- cgit v1.2.3