summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorschmirl <schmirl>2008-03-13 16:01:17 +0000
committerschmirl <schmirl>2008-03-13 16:01:17 +0000
commit21da96308d73458deaa121e1b7a1ce712273c82a (patch)
treed9d222d46730d7da07dafebfcf4df884b47b286f /client
parent650b4d5443fb5d1980f69170124893a1f6b27c9e (diff)
downloadvdr-plugin-streamdev-21da96308d73458deaa121e1b7a1ce712273c82a.tar.gz
vdr-plugin-streamdev-21da96308d73458deaa121e1b7a1ce712273c82a.tar.bz2
Make sure that a FilterStreamer is only started if client supports it
(#261) Modified Files: client/socket.c server/connectionVTP.c server/connectionVTP.h
Diffstat (limited to 'client')
-rw-r--r--client/socket.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/client/socket.c b/client/socket.c
index 5db6efe..f349e71 100644
--- a/client/socket.c
+++ b/client/socket.c
@@ -1,5 +1,5 @@
/*
- * $Id: socket.c,v 1.8 2007/04/24 10:57:34 schmirl Exp $
+ * $Id: socket.c,v 1.9 2008/03/13 16:01:17 schmirl Exp $
*/
#include <tools/select.h>
@@ -140,8 +140,14 @@ bool cClientSocket::CheckConnection(void) {
return false;
}
- isyslog("Streamdev: Connected to server %s:%d using capabilities TSPIDS",
- RemoteIp().c_str(), RemotePort());
+ const char *Filters = "";
+#if VDRVERSNUM >= 10300
+ if(Command("CAPS FILTERS", 220))
+ Filters = ",FILTERS";
+#endif
+
+ isyslog("Streamdev: Connected to server %s:%d using capabilities TSPIDS%s",
+ RemoteIp().c_str(), RemotePort(), Filters);
return true;
}