we may outrank weight if it is equal

This commit is contained in:
Andreas Öman 2008-01-28 20:57:53 +00:00
parent ad624eb558
commit ad616af64f

View file

@ -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;