| Index: media/mp4/mp4_stream_parser.h
|
| diff --git a/media/mp4/mp4_stream_parser.h b/media/mp4/mp4_stream_parser.h
|
| index a830536844b0310ff905de784a709882345e87f6..b8724c954014ca7f23a3c940d2bf6c54607b1fa8 100644
|
| --- a/media/mp4/mp4_stream_parser.h
|
| +++ b/media/mp4/mp4_stream_parser.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef MEDIA_MP4_MP4_STREAM_PARSER_H_
|
| #define MEDIA_MP4_MP4_STREAM_PARSER_H_
|
|
|
| +#include <vector>
|
| +
|
| #include "base/basictypes.h"
|
| #include "base/callback.h"
|
| #include "base/compiler_specific.h"
|
| @@ -45,11 +47,16 @@ class MEDIA_EXPORT MP4StreamParser : public StreamParser {
|
| bool ParseMoov(mp4::BoxReader* reader);
|
| bool ParseMoof(mp4::BoxReader* reader);
|
|
|
| + bool EmitKeyNeeded(const TrackEncryption& track_encryption);
|
| +
|
| bool ReadMDATsUntil(const int64 tgt_tail);
|
|
|
| void ChangeState(State new_state);
|
|
|
| bool EmitConfigs();
|
| + bool PrepareAVCBuffer(const AVCDecoderConfigurationRecord& avc_config,
|
| + std::vector<uint8>* frame_buf,
|
| + std::vector<SubsampleEntry>* subsamples) const;
|
| bool EnqueueSample(BufferQueue* audio_buffers,
|
| BufferQueue* video_buffers,
|
| bool* err);
|
|
|