diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 2041ec2..e9c4aab 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -83,3 +83,6 @@ Diego Pierotto micky979 for providing French language texts + +wirbel + for pointing out that section filtering is optional for VDR devices diff --git a/HISTORY b/HISTORY index ff2952b..e46880a 100644 --- a/HISTORY +++ b/HISTORY @@ -1,6 +1,9 @@ eDR Plugin 'streamdev' Revision History --------------------------------------- +- 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 (pointed out by wirbel@vdrportal) - improved externremux script termination (thanks to Rolf Ahrenberg) - use cThread::Running()/Active() instead of private members (thanks to Rolf Ahrenberg) diff --git a/server/livestreamer.c b/server/livestreamer.c index 624ce90..cea0523 100644 --- a/server/livestreamer.c +++ b/server/livestreamer.c @@ -483,6 +483,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;