Index: webrtc/api/videosource.cc |
diff --git a/webrtc/api/videosource.cc b/webrtc/api/videosource.cc |
index e073fae23a4e69f01848ddc35318a543e293c642..4e28cec0188e56bf13eaecd11f36dd4ba35ec904 100644 |
--- a/webrtc/api/videosource.cc |
+++ b/webrtc/api/videosource.cc |
@@ -359,6 +359,7 @@ void VideoSource::Initialize( |
return; |
} |
options_.SetAll(options); |
+ options_.is_screencast = rtc::Optional<bool>(video_capturer_->IsScreencast()); |
format_ = GetBestCaptureFormat(formats); |
// Start the camera with our best guess. |