From 7184adef839d442612d10d46611bfd4042ac30e3 Mon Sep 17 00:00:00 2001 From: schmirl Date: Fri, 31 Oct 2008 11:59:48 +0000 Subject: consider Pids from channels.conf when HTTP TS streaming. Section filtering is an optional feature for VDR devices, so we must not rely on the PMT alone (#473) --- server/livestreamer.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'server') diff --git a/server/livestreamer.c b/server/livestreamer.c index 98bee87..f91f495 100644 --- a/server/livestreamer.c +++ b/server/livestreamer.c @@ -470,6 +470,10 @@ bool cStreamdevLiveStreamer::SetChannel(const cChannel *Channel, eStreamType Str Detach(); DELETENULL(m_PatFilter); } + // Set pids from cChannel + SetPids(m_Channel->Vpid(), Apids, Dpids, m_Channel->Spids()); + if (m_Channel->Vpid() != m_Channel->Ppid()) + SetPid(m_Channel->Ppid(), true); // Set pids from PMT m_PatFilter = new cStreamdevPatFilter(this, m_Channel); return true; -- cgit v1.2.3