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

Unified Diff: media/filters/ffmpeg_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/ffmpeg_video_decoder.cc
diff --git a/media/filters/ffmpeg_video_decoder.cc b/media/filters/ffmpeg_video_decoder.cc
index a269afbfdf335a17e512e8a51c978cf57c38bb64..6932ab03da506126f4e802f29f0345944126122c 100644
--- a/media/filters/ffmpeg_video_decoder.cc
+++ b/media/filters/ffmpeg_video_decoder.cc
@@ -159,10 +159,12 @@ std::string FFmpegVideoDecoder::GetDisplayName() const {
return "FFmpegVideoDecoder";
}
-void FFmpegVideoDecoder::Initialize(const VideoDecoderConfig& config,
- bool low_delay,
- const PipelineStatusCB& status_cb,
- const OutputCB& output_cb) {
+void FFmpegVideoDecoder::Initialize(
+ const VideoDecoderConfig& config,
+ bool low_delay,
+ const PipelineStatusCB& status_cb,
+ const OutputCB& output_cb,
+ const base::Closure& /* waiting_for_encryption_key_cb */) {
DCHECK(task_runner_->BelongsToCurrentThread());
DCHECK(!config.is_encrypted());
DCHECK(!output_cb.is_null());

Powered by Google App Engine
This is Rietveld 408576698