mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
enable PatFilter for externremux, so VLC can be used as remuxer or client
This commit is contained in:
parent
4f3a6aae88
commit
4ab256caea
1
HISTORY
1
HISTORY
@ -1,6 +1,7 @@
|
|||||||
VDR Plugin 'streamdev' Revision History
|
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)
|
- fixed insecure format strings in LSTX handlers (thanks to Anssi Hannula)
|
||||||
- updated Finish translation (thanks to Rolf Ahrenberg)
|
- updated Finish translation (thanks to Rolf Ahrenberg)
|
||||||
- removed redefinitions in includes - caused problems in older compilers
|
- removed redefinitions in includes - caused problems in older compilers
|
||||||
|
@ -474,6 +474,10 @@ bool cStreamdevLiveStreamer::SetChannel(const cChannel *Channel, eStreamType Str
|
|||||||
m_Channel->Spids());
|
m_Channel->Spids());
|
||||||
return SetPids(m_Channel->Vpid(), Apids, Dpids, 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:
|
case stTS:
|
||||||
// This should never happen, but ...
|
// This should never happen, but ...
|
||||||
if (m_PatFilter) {
|
if (m_PatFilter) {
|
||||||
@ -488,11 +492,6 @@ bool cStreamdevLiveStreamer::SetChannel(const cChannel *Channel, eStreamType Str
|
|||||||
m_PatFilter = new cStreamdevPatFilter(this, m_Channel);
|
m_PatFilter = new cStreamdevPatFilter(this, m_Channel);
|
||||||
return true;
|
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:
|
case stTSPIDS:
|
||||||
Dprintf("pid streaming mode\n");
|
Dprintf("pid streaming mode\n");
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user