Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1234)

Unified Diff: media/filters/chunk_demuxer.h

Issue 180153003: Implement core of compliant MediaSource coded frame processing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A couple nits, still not ready for review. Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/filters/chunk_demuxer.h
diff --git a/media/filters/chunk_demuxer.h b/media/filters/chunk_demuxer.h
index 1c1a361cd0fb2e795d19a32f0130a0b9307dc2b9..9b96c6dd3faa009f6650dc7eece46f953f9536bc 100644
--- a/media/filters/chunk_demuxer.h
+++ b/media/filters/chunk_demuxer.h
@@ -232,6 +232,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.
@@ -283,8 +289,6 @@ class MEDIA_EXPORT ChunkDemuxer : public Demuxer {
void OnNewTextTrack(ChunkDemuxerStream* text_stream,
const TextTrackConfig& config);
- void OnNewMediaSegment(const std::string& source_id,
- base::TimeDelta start_timestamp);
// Returns true if |source_id| is valid, false otherwise.
bool IsValidId(const std::string& source_id) const;

Powered by Google App Engine
This is Rietveld 408576698