| Index: media/filters/chunk_demuxer.h
|
| diff --git a/media/filters/chunk_demuxer.h b/media/filters/chunk_demuxer.h
|
| index 6324d79aee1c489f0dace94b9c0e85102873be74..807839370bc4de79ea2a66688d38e1adaa82fedb 100644
|
| --- a/media/filters/chunk_demuxer.h
|
| +++ b/media/filters/chunk_demuxer.h
|
| @@ -23,7 +23,7 @@ namespace media {
|
| class FFmpegURLProtocol;
|
| class SourceState;
|
|
|
| -class ChunkDemuxerStream : public DemuxerStream {
|
| +class MEDIA_EXPORT ChunkDemuxerStream : public DemuxerStream {
|
| public:
|
| typedef std::deque<scoped_refptr<StreamParserBuffer> > BufferQueue;
|
|
|
| @@ -193,10 +193,7 @@ class MEDIA_EXPORT ChunkDemuxer : public Demuxer {
|
| // Registers a new |id| to use for AppendData() calls. |type| indicates
|
| // the MIME type for the data that we intend to append for this ID.
|
| // |use_legacy_frame_processor| determines which of LegacyFrameProcessor or
|
| - // a (not yet implemented) more compliant frame processor to use to process
|
| - // parsed frames from AppendData() calls.
|
| - // TODO(wolenetz): Enable usage of new frame processor based on this flag.
|
| - // See http://crbug.com/249422.
|
| + // FrameProcessor to use to process parsed frames from AppendData() calls.
|
| // kOk is returned if the demuxer has enough resources to support another ID
|
| // and supports the format indicated by |type|.
|
| // kNotSupported is returned if |type| is not a supported format.
|
| @@ -255,6 +252,12 @@ class MEDIA_EXPORT ChunkDemuxer : public Demuxer {
|
| // mode.
|
| void SetSequenceMode(const std::string& id, bool sequence_mode);
|
|
|
| + // Signals the coded frame processor for the source buffer associated with
|
| + // |id| to update its group start timestamp to be |timestamp_offset| if it is
|
| + // in sequence append mode.
|
| + void SetGroupStartTimestampIfInSequenceMode(const std::string& id,
|
| + base::TimeDelta timestamp_offset);
|
| +
|
| // Called to signal changes in the "end of stream"
|
| // state. UnmarkEndOfStream() must not be called if a matching
|
| // MarkEndOfStream() has not come before it.
|
|
|