Don't abort externremux when internal read buffer is empty

This commit is contained in:
Frank Schmirler 2014-09-19 15:23:14 +02:00
parent 58f0348578
commit dd556ee7fd
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
VDR Plugin 'streamdev' Revision History VDR Plugin 'streamdev' Revision History
--------------------------------------- ---------------------------------------
- Don't abort externremux when internal read buffer is empty
- Implemented remuxing of recordings - Implemented remuxing of recordings
- Make ChannelChange retune only if CA IDs changed (thanks to Oliver Wagner) - Make ChannelChange retune only if CA IDs changed (thanks to Oliver Wagner)
- Implemented VDR 2.1.4 cStatus::ChannelChange(...) - Implemented VDR 2.1.4 cStatus::ChannelChange(...)

View File

@ -303,7 +303,7 @@ void cTSExt::Action(void)
dsyslog("streamdev-server: buffer full while reading from externremux"); dsyslog("streamdev-server: buffer full while reading from externremux");
if (result == -1) { if (result == -1) {
if (errno != EINTR) { if (errno != EINTR && errno != EAGAIN) {
LOG_ERROR_STR("read failed"); LOG_ERROR_STR("read failed");
m_Active = false; m_Active = false;
} }