git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
152bfdf
)
- add looping for ts playbacks (hack for prodrive)
author
Felix Domke
<tmbinc@elitedvb.net>
Mon, 1 Aug 2005 00:53:36 +0000
(
00:53
+0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Mon, 1 Aug 2005 00:53:36 +0000
(
00:53
+0000)
lib/base/filepush.cpp
patch
|
blob
|
history
diff --git
a/lib/base/filepush.cpp
b/lib/base/filepush.cpp
index d873d2b3fe5191b4c61f5f9e909467b4fc25e54f..5413f0483dbcb87fd32e1f84b6612444551c22ee 100644
(file)
--- 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);