Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(555)

Unified Diff: content/renderer/media/media_stream_video_capturer_source.cc

Issue 366243003: VideoTrackAdapter: Add passing frames monitor, notify MSVCS -> MSVTrack(s) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/media/media_stream_video_capturer_source.cc
diff --git a/content/renderer/media/media_stream_video_capturer_source.cc b/content/renderer/media/media_stream_video_capturer_source.cc
index f4555afb4f011cb1f42f18cddb49d05907b37556..1266853362bb6f4274a4ab27b1d686c9d2690440 100644
--- a/content/renderer/media/media_stream_video_capturer_source.cc
+++ b/content/renderer/media/media_stream_video_capturer_source.cc
@@ -38,8 +38,7 @@ VideoCapturerDelegate::VideoCapturerDelegate(
const StreamDeviceInfo& device_info)
: session_id_(device_info.session_id),
is_screen_cast_(device_info.device.type == MEDIA_TAB_VIDEO_CAPTURE ||
- device_info.device.type == MEDIA_DESKTOP_VIDEO_CAPTURE),
- got_first_frame_(false) {
+ device_info.device.type == MEDIA_DESKTOP_VIDEO_CAPTURE) {
DVLOG(3) << "VideoCapturerDelegate::ctor";
// NULL in unit test.
@@ -103,7 +102,6 @@ void VideoCapturerDelegate::StartCapture(
DCHECK(params.requested_format.IsValid());
DCHECK(thread_checker_.CalledOnValidThread());
running_callback_ = running_callback;
- got_first_frame_ = false;
// NULL in unit test.
if (!RenderThreadImpl::current())

Powered by Google App Engine
This is Rietveld 408576698