]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
we may outrank weight if it is equal
authorAndreas Öman <andreas@lonelycoder.com>
Mon, 28 Jan 2008 20:57:53 +0000 (20:57 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Mon, 28 Jan 2008 20:57:53 +0000 (20:57 +0000)
dvb_dvr.c

index c8166b98bd8a67d310d35dae01dcdea35b3354e1..2d4f3936aed14bd201a6446ce50f43f9bedf62d4 100644 (file)
--- a/dvb_dvr.c
+++ b/dvb_dvr.c
@@ -160,9 +160,9 @@ dvb_start_feed(th_transport_t *t, unsigned int weight, int status)
       return 1; /* too many errors for using it */
 
     w = transport_compute_weight(&tdmi->tdmi_adapter->tda_transports);
-    if(w >= weight)
+    if(w > weight)
       return 1; /* We are outranked by weight, cant use it */
-    
+
     dvb_adapter_clean(tda);
   }
   tdmi = t->tht_dvb_mux_instance;