X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/05c8bbbbdb6e4175264e6b55f26957b0a0f874a9..4c697b16225031cc892857d78b7d6fb5d8f02280:/lib/dvb/dvb.cpp?ds=inline diff --git a/lib/dvb/dvb.cpp b/lib/dvb/dvb.cpp index cf0bc9e2..13e3a179 100644 --- a/lib/dvb/dvb.cpp +++ b/lib/dvb/dvb.cpp @@ -811,17 +811,17 @@ void eDVBChannel::getNextSourceSpan(off_t current_offset, size_t bytes_read, off eDebug("getNextSourceSpan, no decoding demux. forcing normal play"); return; } - + if (m_skipmode_n) { eDebug("skipmode %d:%d", m_skipmode_m, m_skipmode_n); max = m_skipmode_n; } - + eDebug("getNextSourceSpan, current offset is %08llx!", current_offset); - + current_offset += m_skipmode_m; - + while (!m_cue->m_seek_requests.empty()) { std::pair seek = m_cue->m_seek_requests.front(); @@ -1113,6 +1113,7 @@ RESULT eDVBChannel::playFile(const char *file) m_pvr_thread = new eFilePushThread(); m_pvr_thread->enablePVRCommit(1); + m_pvr_thread->setStreamMode(1); m_pvr_thread->setScatterGather(this); if (m_pvr_thread->start(file, m_pvr_fd_dst))