summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2009-03-17 20:04:09 +0000
committerphintuka <phintuka>2009-03-17 20:04:09 +0000
commit98175322f8d6c3aac471b9b39aa9ca9939c4df59 (patch)
treec21369bcb254c0c365a2d4c993e71a4b209a8cdf
parent0130b9591279e36aa82fb05b0549dccebce97814 (diff)
downloadxineliboutput-98175322f8d6c3aac471b9b39aa9ca9939c4df59.tar.gz
xineliboutput-98175322f8d6c3aac471b9b39aa9ca9939c4df59.tar.bz2
Send OSD only to configured control connections
-rw-r--r--frontend_svr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend_svr.c b/frontend_svr.c
index 98fdc093..d3dac422 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.66 2009-02-10 12:50:50 phintuka Exp $
+ * $Id: frontend_svr.c,v 1.67 2009-03-17 20:04:09 phintuka Exp $
*
*/
@@ -356,7 +356,7 @@ void cXinelibServer::OsdCmd(void *cmd_gen)
#endif
for(i = 0; i < MAXCLIENTS; i++) {
- if(fd_control[i].open()) {
+ if(fd_control[i].open() && m_bConfigOk[i]) {
int r = write_osd_command(fd_control[i], &cmdnet);
if(r < 0) {
LOGMSG("Send OSD command failed, closing connection");