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

Unified Diff: media/base/decoder_buffer.h

Issue 760523008: Switch from a DataPipe per DecoderBuffer to a single one. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments. Created 6 years 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 | « no previous file | media/base/decoder_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/decoder_buffer.h
diff --git a/media/base/decoder_buffer.h b/media/base/decoder_buffer.h
index 4f8ec69f5b4600b3e1d0de0b9940a194990b2740..665313ddcc1a698a23452c706355c80ed99f98d3 100644
--- a/media/base/decoder_buffer.h
+++ b/media/base/decoder_buffer.h
@@ -169,6 +169,9 @@ class MEDIA_EXPORT DecoderBuffer
// Returns a human-readable string describing |*this|.
std::string AsHumanReadableString();
+ // Replaces any existing side data with data copied from |side_data|.
+ void CopySideDataFrom(const uint8* side_data, int side_data_size);
+
protected:
friend class base::RefCountedThreadSafe<DecoderBuffer>;
« no previous file with comments | « no previous file | media/base/decoder_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698