diff options
author | lado <herrlado@gmail.com> | 2013-04-03 10:00:02 +0200 |
---|---|---|
committer | lado <herrlado@gmail.com> | 2013-04-03 10:00:02 +0200 |
commit | 7b14565379b6334090c84db2f8911b7757212e5b (patch) | |
tree | 6266cc964c56d0bfb6abae3c1fa9fc7298500000 /vdr-vdrmanager/vdrmanagerthread.cpp | |
parent | f5b4b051f856fb5c58e1b9269d2a9f82e3c894f9 (diff) | |
download | vdr-manager-7b14565379b6334090c84db2f8911b7757212e5b.tar.gz vdr-manager-7b14565379b6334090c84db2f8911b7757212e5b.tar.bz2 |
current changes
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 |