X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/28d283c49a8791cc84d70877275f232d5cb526ce..6b01e6e3bc442668ae2b358130a8d9c12f4f8b60:/lib/dvb/decoder.cpp?ds=sidebyside diff --git a/lib/dvb/decoder.cpp b/lib/dvb/decoder.cpp index ef8dadc3..45dde8b3 100644 --- a/lib/dvb/decoder.cpp +++ b/lib/dvb/decoder.cpp @@ -601,7 +601,7 @@ RESULT eDVBVideo::connectEvent(const Slot1= 0) { struct stat s; + size_t written=0; fstat(f, &s); if (m_video_clip_fd == -1) - m_video_clip_fd = open("/dev/dvb/adapter0/video0", O_WRONLY|O_NONBLOCK); - if (m_video_clip_fd >= 0) + m_video_clip_fd = open("/dev/dvb/adapter0/video0", O_WRONLY); + while (m_video_clip_fd >= 0) { bool seq_end_avail = false; size_t pos=0;