DescriptionEncrypted Media: Support config change in DecryptingDemuxerStream.
The DecryptingDemuxerStream was returning kAborted upon config change, which
indirectly caused this crash. Add config change support in this CL.
Also, expect the new stream config is still valid and still encrypted. This is ensured by the upstream demuxer. One reason for this change is that we don't have a good way to report error through the read callnack. Returning kAborted would potentially introduce the same crash. As a result, related (invalid/unencrypted config) tests are removed.
For now, DecryptingXxxDecoders won't introduce the same crash because they report decoder error
immediately when config change is encountered. In a later CL, config change support will be added to these decoders.
BUG=167811
TEST=Updated unittests.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175007
Patch Set 1 #
Total comments: 9
Patch Set 2 : resolved comments #
Total comments: 6
Patch Set 3 : comments resolved #
Messages
Total messages: 8 (0 generated)
|