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; |