From 43eb0db82275fbfdb077a0ddce2a9f0130320dd2 Mon Sep 17 00:00:00 2001 From: Rolf Ahrenberg Date: Sat, 15 Sep 2007 17:15:37 +0000 Subject: [PATCH] Reenabled ringbuffer timeouts. --- device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/device.c b/device.c index aa46304..d76e21d 100644 --- a/device.c +++ b/device.c @@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: device.c,v 1.13 2007/09/15 15:38:38 rahrenbe Exp $ + * $Id: device.c,v 1.14 2007/09/15 17:15:37 rahrenbe Exp $ */ #include "common.h" @@ -24,7 +24,7 @@ cIptvDevice::cIptvDevice(unsigned int Index) { debug("cIptvDevice::cIptvDevice(%d)\n", deviceIndex); tsBuffer = new cRingBufferLinear(MEGABYTE(IptvConfig.GetBufferSizeMB()), TS_SIZE * 2, false, "IPTV"); - //tsBuffer->SetTimeouts(100, 100); + tsBuffer->SetTimeouts(100, 100); pUdpProtocol = new cIptvProtocolUdp(); //pRtspProtocol = new cIptvProtocolRtsp(); //pHttpProtocol = new cIptvProtocolHttp();