Chromium Code Reviews| Index: media/base/filters.h |
| diff --git a/media/base/filters.h b/media/base/filters.h |
| index e464202036a5b92a305c1dcaf585681a971cd1b1..09b32774006c45ae79d430f998daa74a9a86f1c0 100644 |
| --- a/media/base/filters.h |
| +++ b/media/base/filters.h |
| @@ -157,6 +157,10 @@ class MEDIA_EXPORT DataSource : public Filter { |
| // Notify the DataSource of the bitrate of the media. |
| // Values of |bitrate| <= 0 are invalid and should be ignored. |
| virtual void SetBitrate(int bitrate) = 0; |
| + |
| + // Returns true if the data source is from a local file or stream (such as a |
| + // webcam stream), false otherwise. |
| + virtual bool IsLocalSource() = 0; |
|
acolwell GONE FROM CHROMIUM
2011/11/30 19:26:11
I wonder if adding this method is needed since the
vrk (LEFT CHROMIUM)
2011/12/01 02:11:35
Yeah, that's what I was thinking too. Done.
|
| }; |
| class MEDIA_EXPORT VideoDecoder : public Filter { |