Fix obvious bug causing record priority -> subscription weight mapping not to work at all
This commit is contained in:
parent
bf26e1918c
commit
77ad2f6885
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue