mirror of
https://github.com/rofafor/vdr-plugin-satip.git
synced 2023-10-10 13:37:42 +02:00
Fixed eMinKeepAliveIntervalMs typo.
This commit is contained in:
parent
5e8b7b7c5e
commit
80fc28d8cf
2
tuner.c
2
tuner.c
@ -83,7 +83,7 @@ size_t cSatipTuner::HeaderCallback(void *ptrP, size_t sizeP, size_t nmembP, void
|
|||||||
int timeout = -1;
|
int timeout = -1;
|
||||||
char *session = NULL;
|
char *session = NULL;
|
||||||
if (sscanf(r, "Session:%m[^;];timeout=%11d", &session, &timeout) == 2)
|
if (sscanf(r, "Session:%m[^;];timeout=%11d", &session, &timeout) == 2)
|
||||||
obj->SetSessionTimeout(skipspace(session), (timeout - 1) * 1000);
|
obj->SetSessionTimeout(skipspace(session), timeout * 1000);
|
||||||
else if (sscanf(r, "Session:%m[^;]", &session) == 1)
|
else if (sscanf(r, "Session:%m[^;]", &session) == 1)
|
||||||
obj->SetSessionTimeout(skipspace(session));
|
obj->SetSessionTimeout(skipspace(session));
|
||||||
FREE_POINTER(session);
|
FREE_POINTER(session);
|
||||||
|
8
tuner.h
8
tuner.h
@ -26,10 +26,10 @@
|
|||||||
class cSatipTuner : public cThread, public cSatipTunerStatistics {
|
class cSatipTuner : public cThread, public cSatipTunerStatistics {
|
||||||
private:
|
private:
|
||||||
enum {
|
enum {
|
||||||
eConnectTimeoutMs = 1500, // in milliseconds
|
eConnectTimeoutMs = 1500, // in milliseconds
|
||||||
ePidUpdateIntervalMs = 100, // in milliseconds
|
ePidUpdateIntervalMs = 100, // in milliseconds
|
||||||
eReConnectTimeoutMs = 5000, // in milliseconds
|
eReConnectTimeoutMs = 5000, // in milliseconds
|
||||||
eMinKeepAliveIntervalMs = 300000 // in milliseconds
|
eMinKeepAliveIntervalMs = 30000 // in milliseconds
|
||||||
};
|
};
|
||||||
|
|
||||||
static size_t HeaderCallback(void *ptrP, size_t sizeP, size_t nmembP, void *dataP);
|
static size_t HeaderCallback(void *ptrP, size_t sizeP, size_t nmembP, void *dataP);
|
||||||
|
Loading…
Reference in New Issue
Block a user