From: Felix Domke Date: Mon, 1 Aug 2005 00:53:36 +0000 (+0000) Subject: - add looping for ts playbacks (hack for prodrive) X-Git-Tag: 2.6.0~5785 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/0fadf1e113234147ef898d562e5c3daf204ca1a4 - add looping for ts playbacks (hack for prodrive) --- diff --git a/lib/base/filepush.cpp b/lib/base/filepush.cpp index d873d2b3..5413f048 100644 --- a/lib/base/filepush.cpp +++ b/lib/base/filepush.cpp @@ -56,6 +56,11 @@ void eFilePushThread::thread() if (m_buf_end == 0) { eDebug("FILEPUSH: end-of-file! (currently unhandled)"); + if (!lseek(m_fd_source, 0, SEEK_SET)) + { + eDebug("(looping)"); + continue; + } break; } // printf("FILEPUSH: read %d bytes\n", m_buf_end);