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

Unified Diff: media/filters/decrypting_video_decoder.h

Issue 11745026: Encrypted Media: Add config change support in DecryptingVideoDecoder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove ffvd changes; will do that in another CL Created 7 years, 12 months 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
« no previous file with comments | « no previous file | media/filters/decrypting_video_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/decrypting_video_decoder.h
diff --git a/media/filters/decrypting_video_decoder.h b/media/filters/decrypting_video_decoder.h
index fd856a6a8f83ffeb659fef4c1cc0bc379495bd3c..9da57a143620330015fe008a1c36a2b5e327f897 100644
--- a/media/filters/decrypting_video_decoder.h
+++ b/media/filters/decrypting_video_decoder.h
@@ -55,6 +55,7 @@ class MEDIA_EXPORT DecryptingVideoDecoder : public VideoDecoder {
kDecryptorRequested,
kPendingDecoderInit,
kIdle,
+ kPendingConfigChange,
kPendingDemuxerRead,
kPendingDecode,
kWaitingForKey,
@@ -65,9 +66,12 @@ class MEDIA_EXPORT DecryptingVideoDecoder : public VideoDecoder {
// Callback for DecryptorHost::RequestDecryptor().
void SetDecryptor(Decryptor* decryptor);
- // Callback for Decryptor::InitializeVideoDecoder().
+ // Callback for Decryptor::InitializeVideoDecoder() during initialization.
void FinishInitialization(bool success);
+ // Callback for Decryptor::InitializeVideoDecoder() during config change.
+ void FinishConfigChange(bool success);
+
void ReadFromDemuxerStream();
// Callback for DemuxerStream::Read().
« no previous file with comments | « no previous file | media/filters/decrypting_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698