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

Unified Diff: media/base/demuxer.h

Issue 231283005: Add live mode detection in WebM MediaSource parser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | « no previous file | media/base/mock_filters.h » ('j') | media/base/stream_parser.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/demuxer.h
diff --git a/media/base/demuxer.h b/media/base/demuxer.h
index 581bc0075f6f5023da5970308a6b99614a718861..5e72a18f445d0ac2a96943df21d05aa7e9fe411d 100644
--- a/media/base/demuxer.h
+++ b/media/base/demuxer.h
@@ -92,6 +92,10 @@ class MEDIA_EXPORT Demuxer {
// a null Time is returned.
virtual base::Time GetTimelineOffset() const = 0;
+ // True when the stream is a live stream. Decoders may use this flag e.g. to
+ // minimize decoding delay for live streams.
+ virtual bool IsLiveMode() const = 0;
+
private:
DISALLOW_COPY_AND_ASSIGN(Demuxer);
};
« no previous file with comments | « no previous file | media/base/mock_filters.h » ('j') | media/base/stream_parser.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698