diff options
author | phintuka <phintuka> | 2006-06-11 10:20:53 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2006-06-11 10:20:53 +0000 |
commit | c52cff2025ae9fd7647e706afd08f915513e7d73 (patch) | |
tree | a499028b11f4ebfee6b7a4715c4b8525d8577549 | |
parent | 5fbff20114c53be37e9efc3b82a338c42f6253f4 (diff) | |
download | xineliboutput-c52cff2025ae9fd7647e706afd08f915513e7d73.tar.gz xineliboutput-c52cff2025ae9fd7647e706afd08f915513e7d73.tar.bz2 |
Fixed RTP broadcasting when there are no udp or RTP clients
-rw-r--r-- | frontend_svr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend_svr.c b/frontend_svr.c index d76ba02d..75fc7b4c 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.3 2006-06-04 11:00:04 phintuka Exp $ + * $Id: frontend_svr.c,v 1.4 2006-06-11 10:20:53 phintuka Exp $ * */ @@ -305,7 +305,7 @@ int cXinelibServer::Play_PES(const uchar *data, int len) LOGMSG("cXinelibServer::Play_PES Write/Queue error (TCP/PIPE)"); CloseConnection(i); } else if(result<0) { - LOGMSG("cXinelibServer::Play_PES Buffer overflow (TCP/PIPE)"); + LOGMSG("cXinelibServer::Play_PES Buffer overflow (TCP/PIPE)"); } TcpClients++; @@ -314,7 +314,7 @@ int cXinelibServer::Play_PES(const uchar *data, int len) } } - RtpClients = (m_iMulticastMask && fd_multicast >= 0); + RtpClients = ((m_iMulticastMask || xc.remote_rtp_always_on) && fd_multicast >= 0); if(UdpClients || RtpClients) if(! m_Scheduler->Queue(m_StreamPos, data, len)) { |