diff options
-rw-r--r-- | tools/udp_pes_scheduler.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/udp_pes_scheduler.h b/tools/udp_pes_scheduler.h index 3e0738ee..84913e6b 100644 --- a/tools/udp_pes_scheduler.h +++ b/tools/udp_pes_scheduler.h @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: udp_pes_scheduler.h,v 1.8 2007-01-01 07:50:50 phintuka Exp $ + * $Id: udp_pes_scheduler.h,v 1.9 2007-01-01 09:44:42 phintuka Exp $ * */ @@ -61,6 +61,7 @@ class cUdpScheduler : public cThread bool AddHandle(cxSocket& s) { return AddHandle(s.handle()); } void RemoveHandle(cxSocket& s) { RemoveHandle(s.handle()); } + bool Clients(void) { return m_Handles[0] >= 0; } bool Poll(int TimeoutMs, bool Master); bool Queue(uint64_t StreamPos, const uchar *Data, int Length); void ReSend(int fd, uint64_t Pos, int Seq1, int Seq2); |