diff options
author | schmirl <schmirl> | 2008-10-31 11:59:55 +0000 |
---|---|---|
committer | schmirl <schmirl> | 2008-10-31 11:59:55 +0000 |
commit | 4d4f39f8cd96705793f0d247667a1af67d75c653 (patch) | |
tree | ad774db2551bd3b69aba5abd085f07315395c3e8 /server | |
parent | 30ebb2dad17aa80990fc2dd0f7dd99e1ceace95a (diff) | |
download | vdr-plugin-streamdev-4d4f39f8cd96705793f0d247667a1af67d75c653.tar.gz vdr-plugin-streamdev-4d4f39f8cd96705793f0d247667a1af67d75c653.tar.bz2 |
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)
Diffstat (limited to 'server')
-rw-r--r-- | server/livestreamer.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |