diff --git a/HISTORY b/HISTORY index 2481999..3f4929d 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 a2fc942..355d3db 100644 --- a/server/livestreamer.c +++ b/server/livestreamer.c @@ -487,6 +487,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) { @@ -501,11 +505,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;