Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1111)

Unified Diff: media/filters/decrypting_audio_decoder.cc

Issue 11226019: Encrypted Media: Replace DecryptorClient with key event callbacks. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase again Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/filters/decrypting_audio_decoder.cc
diff --git a/media/filters/decrypting_audio_decoder.cc b/media/filters/decrypting_audio_decoder.cc
index 42d7a1b18241a6a1d6fd313aa9fd152db30eab32..b55907ee6bb3acb8dc2076148e7e4a476e09c92c 100644
--- a/media/filters/decrypting_audio_decoder.cc
+++ b/media/filters/decrypting_audio_decoder.cc
@@ -199,7 +199,7 @@ void DecryptingAudioDecoder::FinishInitialization(bool success) {
bytes_per_sample_ = ChannelLayoutToChannelCount(channel_layout_) *
bits_per_channel_ / kBitsPerByte;
- decryptor_->RegisterKeyAddedCB(
+ decryptor_->RegisterNewKeyCB(
Decryptor::kAudio, BIND_TO_LOOP(&DecryptingAudioDecoder::OnKeyAdded));
state_ = kIdle;

Powered by Google App Engine
This is Rietveld 408576698