From c52cff2025ae9fd7647e706afd08f915513e7d73 Mon Sep 17 00:00:00 2001 From: phintuka Date: Sun, 11 Jun 2006 10:20:53 +0000 Subject: Fixed RTP broadcasting when there are no udp or RTP clients --- frontend_svr.c | 6 +++--- 1 file 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)) { -- cgit v1.2.3