summaryrefslogtreecommitdiff
path: root/server/livestreamer.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/livestreamer.c')
-rw-r--r--server/livestreamer.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/server/livestreamer.c b/server/livestreamer.c
index bb21ef1..c2ba110 100644
--- a/server/livestreamer.c
+++ b/server/livestreamer.c
@@ -350,12 +350,12 @@ cStreamdevLiveStreamer::cStreamdevLiveStreamer(const cServerConnection *Connecti
m_ReceiveBuffer = new cStreamdevBuffer(LIVEBUFSIZE, TS_SIZE *2, true, "streamdev-livestreamer"),
m_ReceiveBuffer->SetTimeouts(0, 100);
if (Priority == IDLEPRIORITY) {
- SetChannel(Channel, StreamType, Apid, Dpid);
+ SetChannel(Apid, Dpid);
}
else {
m_Device = SwitchDevice(Channel, Priority);
if (m_Device)
- SetChannel(Channel, StreamType, Apid, Dpid);
+ SetChannel(Apid, Dpid);
}
}
@@ -487,12 +487,10 @@ void cStreamdevLiveStreamer::StartReceiver(void)
DELETENULL(m_Receiver);
}
-bool cStreamdevLiveStreamer::SetChannel(const cChannel *Channel, eStreamType StreamType, const int* Apid, const int *Dpid)
+bool cStreamdevLiveStreamer::SetChannel(const int* Apid, const int *Dpid)
{
Dprintf("Initializing Remuxer for full channel transfer\n");
//printf("ca pid: %d\n", Channel->Ca());
- m_Channel = Channel;
- m_StreamType = StreamType;
const int *Apids = Apid ? Apid : m_Channel->Apids();
const int *Dpids = Dpid ? Dpid : m_Channel->Dpids();