From fa4ce6edf7d5ab9852a2ee3c5bea0b32fd704465 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Tue, 24 Oct 2006 09:00:01 +0000 Subject: [PATCH 1/1] only read twice when the previous read returned max bytes --- lib/dvb/demux.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/dvb/demux.cpp b/lib/dvb/demux.cpp index b0d9b400..0fbd6fbd 100644 --- a/lib/dvb/demux.cpp +++ b/lib/dvb/demux.cpp @@ -312,6 +312,8 @@ void eDVBPESReader::data(int) m_read(buffer, r); else eWarning("PES reader not active"); + if (r != 16384) + break; } } -- 2.30.2