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

Unified Diff: media/base/data_buffer.h

Issue 10228017: Add initial implementation of SourceBufferStream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 8 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/base/data_buffer.h
diff --git a/media/base/data_buffer.h b/media/base/data_buffer.h
index 15ef32ddf35d7e5572d9a838c015d85073aad905..ad41183c86e1db1e89a725ec50a10e0816ccaefa 100644
--- a/media/base/data_buffer.h
+++ b/media/base/data_buffer.h
@@ -23,6 +23,9 @@ class MEDIA_EXPORT DataBuffer : public Buffer {
// Allocates buffer of size |buffer_size|. If |buffer_size| is 0, |data_| is
// set to a NULL ptr.
explicit DataBuffer(int buffer_size);
+ // TODO(vrk): Only ChunkDemuxer and friends care about keyframes.
+ // Put keyframe stuff inside a derived class of Buffer?
acolwell GONE FROM CHROMIUM 2012/04/29 18:13:06 Remove comment since we are already making this de
vrk (LEFT CHROMIUM) 2012/05/01 22:51:13 Done.
+ DataBuffer(int buffer_size, bool is_keyframe);
// Create a DataBuffer whose |data_| is copied from |data|.
static scoped_refptr<DataBuffer> CopyFrom(const uint8* data, int size);

Powered by Google App Engine
This is Rietveld 408576698