From e6294102bda3c30ad249acdbdc1210283ee74809 Mon Sep 17 00:00:00 2001 From: Roman Lumetsberger Date: Sat, 10 Dec 2011 13:51:51 +0100 Subject: [PATCH] [tvheadend] added connection patch (cwc connection retry) --- ...eadend-c88a646-091-cwc-connection-attempt.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 packages/addons/service/multimedia/hts-tvheadend/patches/hts-tvheadend-c88a646-091-cwc-connection-attempt.patch diff --git a/packages/addons/service/multimedia/hts-tvheadend/patches/hts-tvheadend-c88a646-091-cwc-connection-attempt.patch b/packages/addons/service/multimedia/hts-tvheadend/patches/hts-tvheadend-c88a646-091-cwc-connection-attempt.patch new file mode 100644 index 0000000000..296c6bca32 --- /dev/null +++ b/packages/addons/service/multimedia/hts-tvheadend/patches/hts-tvheadend-c88a646-091-cwc-connection-attempt.patch @@ -0,0 +1,14 @@ +diff -upr hts-tvheadend-9d775da_orig/src/cwc.c hts-tvheadend-9d775da/src/cwc.c +--- hts-tvheadend-9d775da_orig/src/cwc.c 2011-08-22 22:46:01.000000000 +0200 ++++ hts-tvheadend-9d775da/src/cwc.c 2011-08-22 22:42:29.000000000 +0200 +@@ -1098,7 +1098,9 @@ cwc_thread(void *aux) + continue; // Retry immediately + d = 3; + } else { +- d = 60; ++ if(attempts == 1) ++ continue; // Retry immediately ++ d = 3; + } + + ts.tv_sec = time(NULL) + d;