summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Schmirler <vdr@schmirler.de>2011-01-27 16:17:07 +0100
committerFrank Schmirler <vdr@schmirler.de>2011-01-27 16:17:07 +0100
commit17c22dc7eea8486364c6114751b0851552bb2bdd (patch)
treee2a41bd6657866b38fd6f526800405c3bd81a2e9
parentfe9a58b88cd232e1dffe078a6fa88ded2f62bb90 (diff)
downloadvdr-plugin-streamdev-v0_4.tar.gz
vdr-plugin-streamdev-v0_4.tar.bz2
increased client side timeout for TUNE commandv0_4
-rw-r--r--HISTORY1
-rw-r--r--client/socket.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index 0f54598..0c965c9 100644
--- a/HISTORY
+++ b/HISTORY
@@ -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());