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

Unified Diff: media/filters/chunk_demuxer.h

Issue 19649007: Update the WebMediaSourceClientImpl & ChunkDemuxer to received explicit end of stream cancellation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make chromium style enforcers happy Created 7 years, 5 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
« no previous file with comments | « content/renderer/media/webmediasourceclient_impl.cc ('k') | media/filters/chunk_demuxer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/chunk_demuxer.h
diff --git a/media/filters/chunk_demuxer.h b/media/filters/chunk_demuxer.h
index 56422003c5ce5c8f46d73d06bf494c6a9b000054..59831997a8f220824a81ffb406dc641ecdff9b42 100644
--- a/media/filters/chunk_demuxer.h
+++ b/media/filters/chunk_demuxer.h
@@ -124,8 +124,12 @@ class MEDIA_EXPORT ChunkDemuxer : public Demuxer {
// middle of parsing a media segment.
bool SetTimestampOffset(const std::string& id, base::TimeDelta offset);
- // Signals an EndOfStream request.
- void EndOfStream(PipelineStatus status);
+ // Called to signal changes in the "end of stream"
+ // state. UnmarkEndOfStream() must not be called if a matching
+ // MarkEndOfStream() has not come before it.
+ void MarkEndOfStream(PipelineStatus status);
+ void UnmarkEndOfStream();
+
void Shutdown();
void SetMemoryLimitsForTesting(int memory_limit);
« no previous file with comments | « content/renderer/media/webmediasourceclient_impl.cc ('k') | media/filters/chunk_demuxer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698