From 2543744ae9e44a67eeca2b9d97937743bed0324e Mon Sep 17 00:00:00 2001 From: ciminus Date: Sun, 15 Apr 2018 07:36:49 +0200 Subject: [PATCH] Avoid parental rating dialogs on some CAMs --- server/livestreamer.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/server/livestreamer.c b/server/livestreamer.c index 6826547..3f048ee 100644 --- a/server/livestreamer.c +++ b/server/livestreamer.c @@ -48,7 +48,11 @@ cStreamdevLiveReceiver::cStreamdevLiveReceiver(cStreamdevLiveStreamer *Streamer, { // clears all PIDs but channel remains set SetPids(NULL); - AddPids(Pids); + if(Pids) { + for(;*Pids;Pids++) { + if(*Pids != 18) AddPid(*Pids); + } + } } cStreamdevLiveReceiver::~cStreamdevLiveReceiver()