Rename "crypto_handler" to "encryption_handler"
Change-Id: I44307fad6f4f0c4c2f8b61c3c6b07867859c9867
This commit is contained in:
parent
3495025051
commit
304f7d2a88
|
@ -398,7 +398,7 @@ std::shared_ptr<Muxer> CreateMuxer(const PackagingParams& packaging_params,
|
|||
return muxer;
|
||||
}
|
||||
|
||||
std::shared_ptr<MediaHandler> CreateCryptoHandler(
|
||||
std::shared_ptr<MediaHandler> CreateEncryptionHandler(
|
||||
const PackagingParams& packaging_params,
|
||||
const StreamDescriptor& stream,
|
||||
KeySource* key_source) {
|
||||
|
@ -552,10 +552,10 @@ Status CreateRemuxJobs(const StreamDescriptorList& stream_descriptors,
|
|||
std::make_shared<ChunkingHandler>(packaging_params.chunking_params);
|
||||
handlers.push_back(chunking_handler);
|
||||
|
||||
std::shared_ptr<MediaHandler> crypto_handler = CreateCryptoHandler(
|
||||
std::shared_ptr<MediaHandler> encryption_handler = CreateEncryptionHandler(
|
||||
packaging_params, *stream_iter, encryption_key_source);
|
||||
if (crypto_handler) {
|
||||
handlers.push_back(crypto_handler);
|
||||
if (encryption_handler) {
|
||||
handlers.push_back(encryption_handler);
|
||||
}
|
||||
|
||||
// If trick_play_handler is available, muxer should already be connected to
|
||||
|
|
Loading…
Reference in New Issue