| Index: media/filters/chunk_demuxer.h
|
| diff --git a/media/filters/chunk_demuxer.h b/media/filters/chunk_demuxer.h
|
| index 3ec8160ff593a906e8d1470ccb92da78bdca23de..6855b61170c7617aea6abed2ed8845a7de44c8d1 100644
|
| --- a/media/filters/chunk_demuxer.h
|
| +++ b/media/filters/chunk_demuxer.h
|
| @@ -32,7 +32,8 @@ class MEDIA_EXPORT ChunkDemuxer : public Demuxer {
|
| kReachedIdLimit, // Reached ID limit. We can't handle any more IDs.
|
| };
|
|
|
| - typedef base::Callback<void(scoped_array<uint8> init_data,
|
| + typedef base::Callback<void(const std::string& type,
|
| + scoped_array<uint8> init_data,
|
| int init_data_size)> NeedKeyCB;
|
|
|
| // |open_cb| Run when Initialize() is called to signal that the demuxer
|
| @@ -129,7 +130,9 @@ class MEDIA_EXPORT ChunkDemuxer : public Demuxer {
|
| const VideoDecoderConfig& video_config);
|
| bool OnAudioBuffers(const StreamParser::BufferQueue& buffers);
|
| bool OnVideoBuffers(const StreamParser::BufferQueue& buffers);
|
| - bool OnNeedKey(scoped_array<uint8> init_data, int init_data_size);
|
| + bool OnNeedKey(const std::string& type,
|
| + scoped_array<uint8> init_data,
|
| + int init_data_size);
|
| void OnNewMediaSegment(const std::string& source_id,
|
| base::TimeDelta start_timestamp);
|
| void OnEndOfMediaSegment(const std::string& source_id);
|
|
|