diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2011-02-16 14:36:53 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2011-02-16 14:36:53 +0100 |
| commit | 0c417aee83bac3ab0a70d5e0b3360d18b3663a23 (patch) | |
| tree | 4fbc37d651cd2e7e3f545b8077e64b7d69c1064d /lib/dvb/decoder.cpp | |
| parent | dec9693d8437a31dab8e4010b33b57e1476a315c (diff) | |
| parent | 2c4829db1915266f51900d5da0e98173c5b87148 (diff) | |
| download | enigma2-0c417aee83bac3ab0a70d5e0b3360d18b3663a23.tar.gz enigma2-0c417aee83bac3ab0a70d5e0b3360d18b3663a23.zip | |
Merge branch 'bug_672_removed_pvr_device'
Conflicts:
lib/dvb/dvb.cpp
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; |
