Index: media/base/demuxer.h |
diff --git a/media/base/demuxer.h b/media/base/demuxer.h |
index a75f248844cab6d65efa415e7c065ff0ad0e2d61..92bd7b47a27d99cd0a7c982e4fd98960e00e555e 100644 |
--- a/media/base/demuxer.h |
+++ b/media/base/demuxer.h |
@@ -61,6 +61,10 @@ class MEDIA_EXPORT Demuxer |
// approximated. Returns 0 if it is unknown. |
virtual int GetBitrate() = 0; |
+ // Returns true if the source is from a local file or stream (such as a |
+ // webcam stream), false otherwise. |
+ virtual bool IsLocalSource() = 0; |
+ |
protected: |
Demuxer(); |
FilterHost* host() { return host_; } |