| Index: media/filters/chunk_demuxer.h
|
| diff --git a/media/filters/chunk_demuxer.h b/media/filters/chunk_demuxer.h
|
| index b0f0d0286c057761a33c83736908c8d1360a006f..42f10972fe1abf368d0348638d905daf1541b9b7 100644
|
| --- a/media/filters/chunk_demuxer.h
|
| +++ b/media/filters/chunk_demuxer.h
|
| @@ -81,13 +81,18 @@ class MEDIA_EXPORT ChunkDemuxer : public Demuxer {
|
| // found.
|
| bool SetupStreams();
|
|
|
| - // Parse a cluster add add the buffers to the appropriate DemxuerStream.
|
| - // |data| is expected to point to the beginning of a cluster element.
|
| + // Parse a cluster and add the buffers to the appropriate DemuxerStream. This
|
| + // method also skips over CUES elements if it happens to encounter them.
|
| + //
|
| + // |data| is expected to point to the beginning of an element.
|
| + //
|
| + // |buffers_added| - Indicates whether Buffers were added to DemuxerStreams
|
| + // during the call. This is only valid if the return value > 0.
|
| //
|
| // Returns -1 if the parse fails.
|
| // Returns 0 if more data is needed.
|
| // Returns the number of bytes parsed on success.
|
| - int ParseCluster_Locked(const uint8* data, int size);
|
| + int ParseCluster_Locked(const uint8* data, int size, bool* buffers_added);
|
|
|
| // Reports an error and puts the demuxer in a state where it won't accept more
|
| // data.
|
|
|