Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mpegts: fix the possible live service check malfunction (wrong system…
… time), fixes #2964
  • Loading branch information
perexg committed Jun 28, 2015
1 parent fe3e53f commit 7683d92
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/input/mpegts/mpegts_service.c
Expand Up @@ -603,6 +603,9 @@ mpegts_service_create0
if (!conf) {
if (sid) s->s_dvb_service_id = sid;
if (pmt_pid) s->s_pmt_pid = pmt_pid;
} else {
if (s->s_dvb_last_seen > dispatch_clock) /* sanity check */
s->s_dvb_last_seen = dispatch_clock;
}
s->s_dvb_mux = mm;
if ((r = dvb_servicetype_lookup(s->s_dvb_servicetype)) != -1)
Expand Down

0 comments on commit 7683d92

Please sign in to comment.