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

Unified Diff: media/filters/ffmpeg_video_decoder.cc

Issue 10822026: Implement "Key Presence" step in "Encrypted Block Encounted" algorithm in EME. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 5 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 dcc9a6d3b7045ba1f8da9ad1e4e417dd1ece9934..8f6619e0a8d8f610b2a1edf82cd7908a596d0e8f 100644
--- a/media/filters/ffmpeg_video_decoder.cc
+++ b/media/filters/ffmpeg_video_decoder.cc
@@ -228,6 +228,10 @@ void FFmpegVideoDecoder::Stop(const base::Closure& closure) {
return;
}
+ // Tell the ProxyDecryptor to abort any pending decryptions.
scherkus (not reviewing) 2012/08/02 18:05:32 we don't know this is a ProxyDecyptor I also don'
xhwang 2012/08/03 20:08:10 Done.
+ if (decryptor_)
+ decryptor_->Stop();
+
stop_cb_ = closure;
// Defer stopping if a read is pending.

Powered by Google App Engine
This is Rietveld 408576698