Index: media/filters/chunk_demuxer.h |
diff --git a/media/filters/chunk_demuxer.h b/media/filters/chunk_demuxer.h |
index 65867466c347213c3a1e569bb797917678a7de99..6ba89c1ddea9dd3b7d26f0257c0f45ba18e52172 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; |
@@ -194,10 +194,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. |
@@ -256,6 +253,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. |