we may outrank weight if it is equal
This commit is contained in:
parent
ad624eb558
commit
ad616af64f
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue