Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
dvb psi: improve the sdt_callback mux selection logic
  • Loading branch information
perexg committed Jan 4, 2015
1 parent 294afe5 commit b305d98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/input/mpegts/dvb_psi.c
Expand Up @@ -1538,7 +1538,7 @@ dvb_sdt_callback
uint8_t dtag;
int llen, dlen;
const uint8_t *lptr, *dptr;
mpegts_mux_t *mm = mt->mt_mux;
mpegts_mux_t *mm = mt->mt_mux, *mm_orig = mm;
mpegts_network_t *mn = mm->mm_network;
mpegts_table_state_t *st = NULL;

Expand Down Expand Up @@ -1636,7 +1636,7 @@ dvb_sdt_callback
/* Check if this is master
* Some networks appear to provide diff service names on diff transponders
*/
if (tableid == 0x42)
if (tableid == 0x42 || mm == mm_orig)
master = 1;

/* Update CRID authority */
Expand Down

0 comments on commit b305d98

Please sign in to comment.