summaryrefslogtreecommitdiff
path: root/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'device.c')
-rw-r--r--device.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/device.c b/device.c
index ba797bf4..821724a4 100644
--- a/device.c
+++ b/device.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: device.c,v 1.120 2012-03-17 20:14:41 phintuka Exp $
+ * $Id: device.c,v 1.121 2012-03-17 20:19:27 phintuka Exp $
*
*/
@@ -247,9 +247,9 @@ bool cXinelibDevice::InitDevice()
}
if (*xc.local_frontend && strncmp(xc.local_frontend, "none", 4))
- m_clients.Add(m_local = new cXinelibLocal(xc.local_frontend));
+ m_clients.Add(m_local = new cXinelibLocal(this, xc.local_frontend));
if (xc.remote_mode && xc.listen_port > 0)
- m_clients.Add(m_server = new cXinelibServer(xc.listen_port));
+ m_clients.Add(m_server = new cXinelibServer(this, xc.listen_port));
return true;
}
@@ -514,7 +514,7 @@ void cXinelibDevice::ConfigureWindow(int fullscreen, int width, int height,
aspect, scale_video);
else if(*xc.local_frontend && strncmp(xc.local_frontend, "none", 4)) {
- cXinelibThread *tmp = new cXinelibLocal(xc.local_frontend);
+ cXinelibThread *tmp = new cXinelibLocal(this, xc.local_frontend);
tmp->Start();
m_clients.Add(m_local = tmp);
@@ -542,7 +542,7 @@ void cXinelibDevice::Listen(bool activate, int port)
if(activate && port>0) {
if(!m_server) {
- cXinelibThread *tmp = new cXinelibServer(port);
+ cXinelibThread *tmp = new cXinelibServer(this, port);
tmp->Start();
m_clients.Add(m_server = tmp);