Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
dvb psi: tiny PAT table optimization (TSID check)
  • Loading branch information
perexg committed May 27, 2016
1 parent 7c71d41 commit c3f1d4e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/input/mpegts/dvb_psi.c
Expand Up @@ -880,7 +880,6 @@ dvb_pat_callback
mpegts_mux_nice_name(mm, buf, sizeof(buf));
tvhwarn("pat", "%s: TSID change detected - old %04x (%d), new %04x (%d)",
buf, mm->mm_tsid, mm->mm_tsid, tsid, tsid);
mm->mm_tsid_checks = 0;
} else {
if (tvhtrace_enabled()) {
mpegts_mux_nice_name(mm, buf, sizeof(buf));
Expand All @@ -889,9 +888,8 @@ dvb_pat_callback
}
return 0; /* keep rolling */
}
} else {
mm->mm_tsid_checks = 0;
}
mm->mm_tsid_checks = -100;
mpegts_mux_set_tsid(mm, tsid, 1);

/* Process each programme */
Expand Down

0 comments on commit c3f1d4e

Please sign in to comment.