diff options
author | lado <herrlado@gmail.com> | 2013-04-01 00:11:19 +0200 |
---|---|---|
committer | lado <herrlado@gmail.com> | 2013-04-01 00:11:19 +0200 |
commit | da1c6058c56059c064f55b81586d6079677fa1b4 (patch) | |
tree | d88900a569335af120e9d13709a2c37478bd56ee /vdr-vdrmanager/vdrmanagerthread.cpp | |
parent | da671823efe4d9202b2df74d12b7b69d0bea56c0 (diff) | |
download | vdr-manager-da1c6058c56059c064f55b81586d6079677fa1b4.tar.gz vdr-manager-da1c6058c56059c064f55b81586d6079677fa1b4.tar.bz2 |
Feature #790
Diffstat (limited to 'vdr-vdrmanager/vdrmanagerthread.cpp')
-rw-r--r-- | vdr-vdrmanager/vdrmanagerthread.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vdr-vdrmanager/vdrmanagerthread.cpp b/vdr-vdrmanager/vdrmanagerthread.cpp index 2a4ca64..51301e5 100644 --- a/vdr-vdrmanager/vdrmanagerthread.cpp +++ b/vdr-vdrmanager/vdrmanagerthread.cpp @@ -8,12 +8,13 @@ #include "select.h" #include "helpers.h" -cVdrManagerThread::cVdrManagerThread(int port, const char * password, bool forceCheckSvdrp) +cVdrManagerThread::cVdrManagerThread(int port, const char * password, bool forceCheckSvdrp, int compressionMode) { select = NULL; this -> port = port; this -> password = password; this -> forceCheckSvdrp = forceCheckSvdrp; + this -> compressionMode = compressionMode; } cVdrManagerThread::~cVdrManagerThread() @@ -43,7 +44,7 @@ bool cVdrManagerThread::Init() // create server socket cVdrmanagerServerSocket * sock = new cVdrmanagerServerSocket(); - if (sock == NULL || !sock->Create(port, password, forceCheckSvdrp)) + if (sock == NULL || !sock->Create(port, password, forceCheckSvdrp, compressionMode)) return false; // register server socket |