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

Unified Diff: media/base/decryptor.h

Issue 712593003: Move key frame flag from StreamParserBuffer to DecoderBuffer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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/base/decryptor.h
diff --git a/media/base/decryptor.h b/media/base/decryptor.h
index 292f2b34694a0dafb22cda6bc0e27667fccc3e99..b1b3d051f941de70b93fa2df0469955d39964168 100644
--- a/media/base/decryptor.h
+++ b/media/base/decryptor.h
@@ -69,6 +69,8 @@ class MEDIA_EXPORT Decryptor {
// decrypted buffer must be NULL.
// - This parameter should not be set to kNeedMoreData.
// Second parameter: The decrypted buffer.
+ // - The buffer's keyframe flag is always set to false. The callback handler
+ // is responsible for setting this flag true as appropriate.
xhwang 2014/11/10 20:14:12 How about: Only |data|, |data_size| and |timestamp
wolenetz 2014/11/11 22:39:41 Done.
typedef base::Callback<void(Status,
const scoped_refptr<DecoderBuffer>&)> DecryptCB;

Powered by Google App Engine
This is Rietveld 408576698