diff options
author | Frank Schmirler <vdr@schmirler.de> | 2011-01-27 16:17:07 +0100 |
---|---|---|
committer | Frank Schmirler <vdr@schmirler.de> | 2011-01-27 16:17:07 +0100 |
commit | 17c22dc7eea8486364c6114751b0851552bb2bdd (patch) | |
tree | e2a41bd6657866b38fd6f526800405c3bd81a2e9 | |
parent | fe9a58b88cd232e1dffe078a6fa88ded2f62bb90 (diff) | |
download | vdr-plugin-streamdev-v0_4.tar.gz vdr-plugin-streamdev-v0_4.tar.bz2 |
increased client side timeout for TUNE commandv0_4
-rw-r--r-- | HISTORY | 1 | ||||
-rw-r--r-- | client/socket.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,7 @@ VDR Plugin 'streamdev' Revision History --------------------------------------- +- increased client side timeout for TUNE command - fixed regression: no receiver created for ES/PS/PES (reported by Gavin Hamill) - VTP no longer uses a static priority value for its server-side receivers. diff --git a/client/socket.c b/client/socket.c index f2b5eea..ca30925 100644 --- a/client/socket.c +++ b/client/socket.c @@ -250,7 +250,7 @@ bool cClientSocket::SetChannelDevice(const cChannel *Channel) { std::string command = (std::string)"TUNE " + (const char*)Channel->GetChannelID().ToString(); - if (!Command(command, 220)) { + if (!Command(command, 220, 10000)) { if (errno == 0) esyslog("ERROR: Streamdev: Couldn't tune %s:%d to channel %s", RemoteIp().c_str(), RemotePort(), Channel->Name()); |