diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2007-04-17 15:45:23 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2007-04-17 15:45:23 +0000 |
| commit | 225c99450eab2aba7aa0e8ea3d2ff73da2910d46 (patch) | |
| tree | 8abdeb3514c10a81d79f418028758e129c68be68 /lib/base/filepush.h | |
| parent | bf199875386cd93ad37c3a9541b5a98ada9f608c (diff) | |
| download | enigma2-225c99450eab2aba7aa0e8ea3d2ff73da2910d46.tar.gz enigma2-225c99450eab2aba7aa0e8ea3d2ff73da2910d46.zip | |
add stream-mode to filepush, which will retry on eof until stream grows
Diffstat (limited to 'lib/base/filepush.h')
| -rw-r--r-- | lib/base/filepush.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/base/filepush.h b/lib/base/filepush.h index 0749cd43..d3f32d75 100644 --- a/lib/base/filepush.h +++ b/lib/base/filepush.h @@ -33,6 +33,9 @@ public: void flush(); void enablePVRCommit(int); + /* stream mode will wait on EOF until more data is available. */ + void setStreamMode(int); + void setScatterGather(iFilePushScatterGather *); enum { evtEOF, evtReadError, evtWriteError, evtUser }; @@ -52,7 +55,8 @@ private: int m_buf_start, m_buf_end; int m_fd_dest; int m_send_pvr_commit; - + int m_stream_mode; + eRawFile m_raw_source; eFixedMessagePump<int> m_messagepump; |
