cwc: reset the preferred CA PID when key is late...

This commit is contained in:
Jaroslav Kysela 2015-02-21 21:32:29 +01:00
parent a2491ffcd7
commit ab258685f4

View file

@ -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;
@ -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;
}