Correct stupid mistake in setting object grabber.
This commit is contained in:
parent
b9c34db3d1
commit
72561f2a45
1 changed files with 2 additions and 1 deletions
|
@ -233,7 +233,8 @@ static int _epg_object_set_grabber ( void *o, epggrab_module_t *grab )
|
|||
{
|
||||
epg_object_t *eo = o;
|
||||
if ( !grab ) return 1; // grab=NULL is override
|
||||
if ( eo->grabber != grab && grab->priority > eo->grabber->priority ) {
|
||||
if ( !eo->grabber ||
|
||||
((eo->grabber != grab) && (grab->priority > eo->grabber->priority)) ) {
|
||||
eo->grabber = grab;
|
||||
}
|
||||
return grab == eo->grabber;
|
||||
|
|
Loading…
Add table
Reference in a new issue