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:
parent
2d997b3fdd
commit
629c4ff378
2
device.c
2
device.c
@ -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();
|
||||
|
@ -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)
|
||||
|
2
tuner.c
2
tuner.c
@ -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()),
|
||||
|
Loading…
Reference in New Issue
Block a user