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

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: Fix nits 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
« no previous file with comments | « media/base/decoder_buffer_unittest.cc ('k') | media/base/fake_text_track_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/decryptor.h
diff --git a/media/base/decryptor.h b/media/base/decryptor.h
index 292f2b34694a0dafb22cda6bc0e27667fccc3e99..89733ef2d589f233e3f25731a44857edf6ed8774 100644
--- a/media/base/decryptor.h
+++ b/media/base/decryptor.h
@@ -69,6 +69,9 @@ class MEDIA_EXPORT Decryptor {
// decrypted buffer must be NULL.
// - This parameter should not be set to kNeedMoreData.
// Second parameter: The decrypted buffer.
+ // - Only |data|, |data_size| and |timestamp| are set in the returned
+ // DecoderBuffer. The callback handler is responsible for setting other
+ // fields as appropriate.
typedef base::Callback<void(Status,
const scoped_refptr<DecoderBuffer>&)> DecryptCB;
« no previous file with comments | « media/base/decoder_buffer_unittest.cc ('k') | media/base/fake_text_track_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698