MediaCas: re-send the first scrambled TS packet to decoder
Currently, for scrambled streams that require secure decoder, we descramble the first TS packet (which includes the PES header) into the clear, and this TS packet is not descrambled again at decoding time. However, descramblers may not be able to descramble the bitstream into clear buffers past the PES header portion. So we need to assume that in the first pass, we can only get up to the PES header portion, and at decoding time, this TS packet should be descrambled again fully. bug: 111271614 Test: CTS MediaCasTest; MediaDrmClearKeyTest; tested with clearkey cas plugin modified to return only the PES header portion of the first TS packet, instead of the full TS. Change-Id: I8e77df3c5fa1268282442b7556851d89918c244d
Loading
Please register or sign in to comment