Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
cwc: reset the preferred CA PID when key is late...
  • Loading branch information
perexg committed Feb 21, 2015
1 parent a2491ff commit ab25868
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/descrambler/cwc.c
Expand Up @@ -666,6 +666,7 @@ static int
cwc_ecm_reset(th_descrambler_t *th)
{
cwc_service_t *ct = (cwc_service_t *)th;
mpegts_service_t *t;
ecm_pid_t *ep;
ecm_section_t *es;

Expand All @@ -676,6 +677,9 @@ cwc_ecm_reset(th_descrambler_t *th)
LIST_FOREACH(es, &ep->ep_sections, es_link)
es->es_keystate = ES_UNKNOWN;
ct->ecm_state = ECM_RESET;
t = (mpegts_service_t *)th->td_service;
if (t->s_dvb_prefcapid_lock != PREFCAPID_FORCE)
t->s_dvb_prefcapid = 0;
return 0;
}

Expand Down

0 comments on commit ab25868

Please sign in to comment.