shaka-packager/packager/media/base
Kongqun Yang d08f6ae0cc Fix cbcs/cens behavior when applied to non video tracks
- Tracks other than video are protected using whole-block full-sample
  encryption as specified in ISO/IEC 23001-7:2016(E) 9.7, which is
  equivalent to a pattern of 1:0. This is different to the non pattern
  encryption counterparts.
- Also updated the code to allow the existence of other protection
  schemes in the original content, which will simply be ignored.
- The internal cryptor used by AesPatternCryptor should not use
  constant iv, add a DCHECK for that.
- Optimize AesPatternCryptor handling on the special pattern 1:0.

Change-Id: Idc704e7bc6b347741336f38c6d3620fc19392960
2016-06-08 17:02:26 +00:00
..
test Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
aes_cryptor.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
aes_cryptor.h Fix cbcs/cens behavior when applied to non video tracks 2016-06-08 17:02:26 +00:00
aes_cryptor_unittest.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
aes_decryptor.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
aes_decryptor.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
aes_encryptor.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
aes_encryptor.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
aes_pattern_cryptor.cc Fix cbcs/cens behavior when applied to non video tracks 2016-06-08 17:02:26 +00:00
aes_pattern_cryptor.h Fix cbcs/cens behavior when applied to non video tracks 2016-06-08 17:02:26 +00:00
aes_pattern_cryptor_unittest.cc Fix cbcs/cens behavior when applied to non video tracks 2016-06-08 17:02:26 +00:00
audio_stream_info.cc Fixed a Opus in Mp4 parsing problem 2016-06-01 23:52:33 +00:00
audio_stream_info.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
audio_timestamp_helper.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
audio_timestamp_helper.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
audio_timestamp_helper_unittest.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
bit_reader.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
bit_reader.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
bit_reader_unittest.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
buffer_reader.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
buffer_reader.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
buffer_writer.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
buffer_writer.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
buffer_writer_unittest.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
byte_queue.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
byte_queue.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
closure_thread.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
closure_thread.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
closure_thread_unittest.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
container_names.cc Allow uuid to be a valid top level box 2016-06-08 00:53:35 +00:00
container_names.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
container_names_unittest.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
decrypt_config.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
decrypt_config.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
decryptor_source.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
decryptor_source.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
decryptor_source_unittest.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
demuxer.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
demuxer.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
fixed_key_source.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
fixed_key_source.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
fixed_key_source_unittest.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
fourccs.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
http_key_fetcher.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
http_key_fetcher.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
http_key_fetcher_unittest.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
key_fetcher.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
key_fetcher.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
key_source.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
key_source.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
limits.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
macros.h Enable '-Wimplicit-fallthrough' and fix issues 2016-01-06 17:12:49 -08:00
media_base.gyp Move fourccs.h and rcheck.h to media/base 2016-04-12 21:28:37 +00:00
media_parser.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
media_sample.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
media_sample.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
media_stream.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
media_stream.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
muxer.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
muxer.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
muxer_options.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
muxer_options.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
muxer_util.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
muxer_util.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
muxer_util_unittest.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
network_util.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
network_util.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
offset_byte_queue.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
offset_byte_queue.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
offset_byte_queue_unittest.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
producer_consumer_queue.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
producer_consumer_queue_unittest.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
protection_system_specific_info.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
protection_system_specific_info.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
protection_system_specific_info_unittest.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
rcheck.h Move fourccs.h and rcheck.h to media/base 2016-04-12 21:28:37 +00:00
request_signer.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
request_signer.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
rsa_key.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
rsa_key.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
rsa_key_unittest.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
status.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
status.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
status_test_util_unittest.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
status_unittest.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
stream_info.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
stream_info.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
text_stream_info.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
text_stream_info.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
text_track.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
text_track_config.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
text_track_config.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
timestamp.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
video_stream_info.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
video_stream_info.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
widevine_key_source.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
widevine_key_source.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
widevine_key_source_unittest.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
widevine_pssh_data.proto Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00