From 4ab256caea6b402c9880d846fbd9cf0eed6f1742 Mon Sep 17 00:00:00 2001 From: schmirl Date: Wed, 5 Aug 2009 09:33:13 +0000 Subject: [PATCH] enable PatFilter for externremux, so VLC can be used as remuxer or client --- HISTORY | 1 + server/livestreamer.c | 9 ++++----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/HISTORY b/HISTORY index 7ce45f8..7ba4418 100644 --- a/HISTORY +++ b/HISTORY @@ -1,6 +1,7 @@ VDR Plugin 'streamdev' Revision History --------------------------------------- +- enable PatFilter for externremux, so VLC can be used as remuxer or client - fixed insecure format strings in LSTX handlers (thanks to Anssi Hannula) - updated Finish translation (thanks to Rolf Ahrenberg) - removed redefinitions in includes - caused problems in older compilers 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;