Use ONID as CRID authority as last resort.
This commit is contained in:
parent
5c41db0462
commit
fc068dd782
1 changed files with 3 additions and 1 deletions
|
@ -369,11 +369,13 @@ static int _eit_desc_crid
|
|||
} else if ( *buf != '/' ) {
|
||||
snprintf(crid, clen, "crid://%s", buf);
|
||||
} else {
|
||||
char *defauth = svc->s_dvb_cridauth;
|
||||
const char *defauth = svc->s_dvb_cridauth;
|
||||
if (!defauth)
|
||||
defauth = svc->s_dvb_mux->mm_crid_authority;
|
||||
if (defauth)
|
||||
snprintf(crid, clen, "crid://%s%s", defauth, buf);
|
||||
else
|
||||
snprintf(crid, clen, "crid://%d%s", svc->s_dvb_mux->mm_onid, buf);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue