diff --git a/packager/packager.cc b/packager/packager.cc index 2d97368a8c..6159f86cb1 100644 --- a/packager/packager.cc +++ b/packager/packager.cc @@ -398,7 +398,7 @@ std::shared_ptr CreateMuxer(const PackagingParams& packaging_params, return muxer; } -std::shared_ptr CreateCryptoHandler( +std::shared_ptr CreateEncryptionHandler( const PackagingParams& packaging_params, const StreamDescriptor& stream, KeySource* key_source) { @@ -552,10 +552,10 @@ Status CreateRemuxJobs(const StreamDescriptorList& stream_descriptors, std::make_shared(packaging_params.chunking_params); handlers.push_back(chunking_handler); - std::shared_ptr crypto_handler = CreateCryptoHandler( + std::shared_ptr 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