summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmirl <schmirl>2009-08-05 09:33:07 +0000
committerschmirl <schmirl>2009-08-05 09:33:07 +0000
commit53a07a9dfa66e5fa5a5248f3eaaa18778c0ee1a0 (patch)
tree32d6bcab154a6dcc2c0c7626d010412d87548265
parentb099df30117a7327423bf51900cae6bc953f9aee (diff)
downloadvdr-plugin-streamdev-53a07a9dfa66e5fa5a5248f3eaaa18778c0ee1a0.tar.gz
vdr-plugin-streamdev-53a07a9dfa66e5fa5a5248f3eaaa18778c0ee1a0.tar.bz2
enable PatFilter for externremux, so VLC can be used as remuxer or client
-rw-r--r--HISTORY1
-rw-r--r--server/livestreamer.c9
2 files changed, 5 insertions, 5 deletions
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;