diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2011-02-15 20:40:01 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2011-02-15 20:40:01 +0100 |
| commit | e0d8ce8d7dc7239ff353f09c15b739f1b969cdfb (patch) | |
| tree | 0a7a66a7194fde5947dc83df6dd228f7a44abd9e /lib/dvb/decoder.cpp | |
| parent | 7169ecb3d6d30981b223e81e8a200b48f784941d (diff) | |
| parent | a995c63c0d6c24bbe23935b901bf735c18833adb (diff) | |
| download | enigma2-e0d8ce8d7dc7239ff353f09c15b739f1b969cdfb.tar.gz enigma2-e0d8ce8d7dc7239ff353f09c15b739f1b969cdfb.zip | |
Merge branch 'bug_672_removed_pvr_device' into experimental
Diffstat (limited to 'lib/dvb/decoder.cpp')
| -rw-r--r-- | lib/dvb/decoder.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/dvb/decoder.cpp b/lib/dvb/decoder.cpp index 8ed9f43f..df45063a 100644 --- a/lib/dvb/decoder.cpp +++ b/lib/dvb/decoder.cpp @@ -1302,10 +1302,11 @@ RESULT eTSMPEGDecoder::showSinglePic(const char *filename) if (f >= 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; |
