Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
linuxdvb: master/slave - prefer master tuners
  • Loading branch information
perexg committed Mar 16, 2016
1 parent 7adc49f commit 3b9e1b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/input/mpegts/linuxdvb/linuxdvb_frontend.c
Expand Up @@ -485,6 +485,8 @@ linuxdvb_frontend_is_enabled ( mpegts_input_t *mi, mpegts_mux_t *mm, int flags )
if (lfe->lfe_master && !strcmp(lfe->lfe_master, idnode_uuid_as_str(&lfe2->ti_id, ubuf))) {
if (lfe2->lfe_satconf == NULL)
return 0; /* invalid master */
if (lfe2->lfe_refcount <= 0)
return 0; /* prefer master */
return linuxdvb_satconf_match_mux(lfe2->lfe_satconf, mm);
}
if (lfe2->lfe_master &&
Expand Down

0 comments on commit 3b9e1b8

Please sign in to comment.