Fix obvious bug causing record priority -> subscription weight mapping not to work at all

This commit is contained in:
Andreas Öman 2010-03-18 21:48:05 +00:00
parent bf26e1918c
commit 77ad2f6885

View file

@ -78,7 +78,7 @@ dvr_rec_subscribe(dvr_entry_t *de)
pthread_create(&de->de_thread, NULL, dvr_thread, de);
if(de->de_pri)
if(de->de_pri < 5)
weight = prio2weight[de->de_pri];
else
weight = 300;