Changeset 22268


Ignore:
Timestamp:
07/09/13 09:18:14 (11 years ago)
Author:
nit
Message:

[titan] testfix for dynamic zap after crypt change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/dvb.h

    r22006 r22268  
    722722        int16_t audiopid = status.aktservice->channel->audiopid;
    723723        int16_t videopid = status.aktservice->channel->videopid;
     724        uint8_t crypt = status.aktservice->channel->crypt;
    724725        int oldpmtlen = status.aktservice->pmtlen;
    725726       
     
    748749                status.aktservice->channel->videocodec = -1;
    749750                status.aktservice->channel->pmtpid = pmtpid;
     751                status.aktservice->channel->crypt = 0;
    750752                dvbgetinfo(pmtbuf, status.aktservice->channel);
    751753
    752                 debug(200, "pmt dynamic change oldapid=%d apid=%d oldvpid=%d vpid=%d oldpmtlen=%d\n", audiopid, status.aktservice->channel->audiopid, videopid, status.aktservice->channel->videopid, oldpmtlen);
    753 
    754                 if(status.aktservice->channel->audiopid != audiopid || status.aktservice->channel->videopid != videopid || oldpmtlen == -1)
     754                debug(200, "pmt dynamic change oldapid=%d apid=%d oldvpid=%d vpid=%d oldcrypt=%d crypt=%d oldpmtlen=%d\n", audiopid, status.aktservice->channel->audiopid, videopid, status.aktservice->channel->videopid, status.aktservice->channel->crypt, crypt, oldpmtlen);
     755
     756                if(status.aktservice->channel->audiopid != audiopid || status.aktservice->channel->videopid != videopid || oldpmtlen == -1 || status.aktservice->channel->crypt != crypt)
    755757                        change = 1;
    756758        }
Note: See TracChangeset for help on using the changeset viewer.