| Index: content/renderer/media/media_stream_video_source.h
|
| diff --git a/content/renderer/media/media_stream_video_source.h b/content/renderer/media/media_stream_video_source.h
|
| index 235f5fab3eccf08aeabd7037d8953ea578120f19..9fdc2911817d23cca077d55264440b79f52e7caa 100644
|
| --- a/content/renderer/media/media_stream_video_source.h
|
| +++ b/content/renderer/media/media_stream_video_source.h
|
| @@ -78,7 +78,8 @@ class CONTENT_EXPORT MediaStreamVideoSource : public MediaStreamSource {
|
| // Returns the task runner where video frames will be delivered on.
|
| base::SingleThreadTaskRunner* io_task_runner() const;
|
|
|
| - base::Optional<media::VideoCaptureFormat> GetCurrentFormat() const;
|
| + // Implementations must return the capture format if available.
|
| + virtual base::Optional<media::VideoCaptureFormat> GetCurrentFormat() const;
|
|
|
| base::WeakPtr<MediaStreamVideoSource> GetWeakPtr() {
|
| return weak_factory_.GetWeakPtr();
|
| @@ -93,10 +94,6 @@ class CONTENT_EXPORT MediaStreamVideoSource : public MediaStreamSource {
|
| // Sets muted state and notifies it to all registered tracks.
|
| virtual void SetMutedState(bool state);
|
|
|
| - // An implementation must return its capture format if available.
|
| - virtual base::Optional<media::VideoCaptureFormat> GetCurrentFormatImpl()
|
| - const;
|
| -
|
| // An implementation must start capturing frames after this method is called.
|
| // When the source has started or failed to start OnStartDone must be called.
|
| // An implementation must call |frame_callback| on the IO thread with the
|
|
|