summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2009-03-24 19:07:31 +0000
committerphintuka <phintuka>2009-03-24 19:07:31 +0000
commit28bb6fad5f62f9645ecb08cde11b08c25b50e355 (patch)
treeba7fe22b2cfbc725b72db4e5c11c012a7a6e294c
parent31fc7f156be34d2e94a8f56378a5d6284b85812a (diff)
downloadxineliboutput-28bb6fad5f62f9645ecb08cde11b08c25b50e355.tar.gz
xineliboutput-28bb6fad5f62f9645ecb08cde11b08c25b50e355.tar.bz2
Send header to PIPE connections too
-rw-r--r--frontend_svr.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/frontend_svr.c b/frontend_svr.c
index adffba85..2f1799d1 100644
--- a/frontend_svr.c
+++ b/frontend_svr.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: frontend_svr.c,v 1.70 2009-03-20 07:20:53 phintuka Exp $
+ * $Id: frontend_svr.c,v 1.71 2009-03-24 19:07:31 phintuka Exp $
*
*/
@@ -1005,6 +1005,9 @@ void cXinelibServer::Handle_Control_PIPE(int cli, const char *arg)
CREATE_NEW_WRITER;
+ if (m_Header)
+ m_Writer[cli]->Put(0, m_Header, m_HeaderLength);
+
fd_data[cli] = fd;
}