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

Renamed threads and ringbuffers.

This commit is contained in:
Rolf Ahrenberg 2014-12-14 21:39:13 +02:00
parent 2d997b3fdd
commit 629c4ff378
3 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ cSatipDevice::cSatipDevice(unsigned int indexP)
bufsize -= (bufsize % TS_SIZE);
info("Creating SATIP device CardIndex=%d [device %u]", CardIndex(), deviceIndexM);
tsBufferM = new cRingBufferLinear(bufsize + 1, TS_SIZE, false,
*cString::sprintf("SATIP %d TS", deviceIndexM));
*cString::sprintf("SATIP#%d TS", deviceIndexM));
if (tsBufferM) {
tsBufferM->SetTimeouts(10, 10);
tsBufferM->SetIoThrottle();

View File

@ -232,7 +232,7 @@ bool cSatipSectionFilter::Send(void)
cSatipSectionFilterHandler::cSatipSectionFilterHandler(int deviceIndexP, unsigned int bufferLenP)
: cThread(cString::sprintf("SATIP %d section handler", deviceIndexP)),
: cThread(cString::sprintf("SATIP#%d section handler", deviceIndexP)),
ringBufferM(new cRingBufferLinear(bufferLenP, TS_SIZE, false, *cString::sprintf("SATIP %d section handler", deviceIndexP))),
mutexM(),
deviceIndexM(deviceIndexP)

View File

@ -16,7 +16,7 @@
#include "tuner.h"
cSatipTuner::cSatipTuner(cSatipDeviceIf &deviceP, unsigned int packetLenP)
: cThread(cString::sprintf("SATIP %d tuner", deviceP.GetId())),
: cThread(cString::sprintf("SATIP#%d tuner", deviceP.GetId())),
sleepM(),
deviceM(&deviceP),
deviceIdM(deviceP.GetId()),