1
0
mirror of https://github.com/rofafor/vdr-plugin-iptv.git synced 2023-10-10 13:37:03 +02:00

Reenabled ringbuffer timeouts.

This commit is contained in:
Rolf Ahrenberg 2007-09-15 17:15:37 +00:00
parent 8d6f72ca5d
commit 43eb0db822

View File

@ -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();