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)
This commit is contained in:
schmirl 2008-10-31 11:59:48 +00:00
parent ac2e992305
commit 7184adef83
3 changed files with 10 additions and 0 deletions

View File

@ -94,3 +94,6 @@ Pixelpeter
Anssi Hannula
for the vdr-1.6.0-ignore_missing_cam.diff patch
wirbel
for pointing out that section filtering is optional for VDR devices

View File

@ -1,6 +1,9 @@
VDR 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)

View File

@ -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;