Index: media/base/stream_parser_buffer.h |
diff --git a/media/base/stream_parser_buffer.h b/media/base/stream_parser_buffer.h |
index 90e4ca9d8ba4f5b1eba21f2ca55cf6ca86a09b2b..8899f11216d7d273cef2646de1727fcba9c02b21 100644 |
--- a/media/base/stream_parser_buffer.h |
+++ b/media/base/stream_parser_buffer.h |
@@ -18,6 +18,9 @@ class MEDIA_EXPORT StreamParserBuffer : public DecoderBuffer { |
static scoped_refptr<StreamParserBuffer> CreateEOSBuffer(); |
static scoped_refptr<StreamParserBuffer> CopyFrom( |
const uint8* data, int data_size, bool is_keyframe); |
+ static scoped_refptr<StreamParserBuffer> CopyFrom( |
+ const uint8* data, int data_size, |
+ const uint8* side_data, int side_data_size, bool is_keyframe); |
bool IsKeyframe() const { return is_keyframe_; } |
// Decode timestamp. If not explicitly set, or set to kNoTimestamp(), the |
@@ -31,7 +34,9 @@ class MEDIA_EXPORT StreamParserBuffer : public DecoderBuffer { |
void SetConfigId(int config_id); |
private: |
- StreamParserBuffer(const uint8* data, int data_size, bool is_keyframe); |
+ StreamParserBuffer(const uint8* data, int data_size, |
+ const uint8* side_data, int side_data_size, |
+ bool is_keyframe); |
virtual ~StreamParserBuffer(); |
bool is_keyframe_; |