Index: webrtc/api/videosource.cc |
diff --git a/webrtc/api/videosource.cc b/webrtc/api/videosource.cc |
index 3a55cd501899ff7d37b5ecbed6ab1c9019165e2a..1b581730900d406a2c9ddc84d46437616e8f3d49 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. |