summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/livestreamer.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/server/livestreamer.c b/server/livestreamer.c
index 71a3565..e86cd6b 100644
--- a/server/livestreamer.c
+++ b/server/livestreamer.c
@@ -474,6 +474,10 @@ bool cStreamdevLiveStreamer::SetChannel(const cChannel *Channel, eStreamType Str
m_Channel->Spids());
return SetPids(m_Channel->Vpid(), Apids, Dpids, m_Channel->Spids());
+ case stExtern:
+ m_Remux = new cExternRemux(m_Channel->Vpid(), m_Channel->Apids(), m_Channel->Dpids(),
+ m_Channel->Spids(), m_Parameter);
+ // fall through
case stTS:
// This should never happen, but ...
if (m_PatFilter) {
@@ -488,11 +492,6 @@ bool cStreamdevLiveStreamer::SetChannel(const cChannel *Channel, eStreamType Str
m_PatFilter = new cStreamdevPatFilter(this, m_Channel);
return true;
- case stExtern:
- m_Remux = new cExternRemux(m_Channel->Vpid(), m_Channel->Apids(), m_Channel->Dpids(),
- m_Channel->Spids(), m_Parameter);
- return SetPids(m_Channel->Vpid(), Apids, Dpids, m_Channel->Spids());
-
case stTSPIDS:
Dprintf("pid streaming mode\n");
return true;