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

Unified Diff: media/base/pipeline.h

Issue 8661002: Fire CanPlayThrough immediately for local and streaming media files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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/base/pipeline.h
diff --git a/media/base/pipeline.h b/media/base/pipeline.h
index 1c91f80848a6afb99a004e26b27b9e8ee5ef8227..67bbb3c32d168c3f85a37d8eb8ccd7a9364be535 100644
--- a/media/base/pipeline.h
+++ b/media/base/pipeline.h
@@ -159,6 +159,10 @@ class MEDIA_EXPORT Pipeline : public base::RefCountedThreadSafe<Pipeline> {
// be 0.
virtual void GetNaturalVideoSize(gfx::Size* out_size) const = 0;
+ // Sets whether the source of the media is a MediaStream (e.g. video capture
+ // from a local source).
+ virtual void SetMediaStream(bool is_media_stream) = 0;
+
// If this method returns true, that means the data source is a streaming
// data source. Seeking may not be possible.
virtual bool IsStreaming() const = 0;

Powered by Google App Engine
This is Rietveld 408576698