From fa9f7f92ec968e4a99c75855a3c927ebc0e640d0 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sat, 3 Nov 2012 17:19:21 +0100 Subject: [PATCH] streamts: use demux(0) to fix streaming --- src/driver/streamts.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/driver/streamts.cpp b/src/driver/streamts.cpp index 34c8e4328..83d2ced89 100644 --- a/src/driver/streamts.cpp +++ b/src/driver/streamts.cpp @@ -330,7 +330,14 @@ void * streamts_live_thread(void *data) return 0; } +#ifndef HAVE_COOL_HARDWARE + /* right now, only one stream is possible anyway and it is not possible + * to stream a different channel than the live channel AFAICT, so we can + * as well use the live demux */ + cDemux * dmx = new cDemux(0); +#else cDemux * dmx = new cDemux(STREAM_DEMUX);//FIXME +#endif dmx->Open(DMX_TP_CHANNEL, NULL, DMX_BUFFER_SIZE);