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

Unified Diff: media/filters/gpu_video_decoder.cc

Issue 935243002: Decryptors can report kNoKey to WebMediaPlayer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
Index: media/filters/gpu_video_decoder.cc
diff --git a/media/filters/gpu_video_decoder.cc b/media/filters/gpu_video_decoder.cc
index b634a5c2953eec1025e7b664cfb565afb79a2e03..d9a3bddbe12b9b67e77504a0484fe83aa23fbe04 100644
--- a/media/filters/gpu_video_decoder.cc
+++ b/media/filters/gpu_video_decoder.cc
@@ -141,10 +141,12 @@ std::string GpuVideoDecoder::GetDisplayName() const {
return kDecoderName;
}
-void GpuVideoDecoder::Initialize(const VideoDecoderConfig& config,
- bool /* low_delay */,
- const PipelineStatusCB& orig_status_cb,
- const OutputCB& output_cb) {
+void GpuVideoDecoder::Initialize(
+ const VideoDecoderConfig& config,
+ bool /* low_delay */,
+ const PipelineStatusCB& orig_status_cb,
+ const OutputCB& output_cb,
+ const base::Closure& /* waiting_for_encryption_key_cb */) {
DVLOG(3) << "Initialize()";
DCheckGpuVideoAcceleratorFactoriesTaskRunnerIsCurrent();
DCHECK(config.IsValidConfig());

Powered by Google App Engine
This is Rietveld 408576698