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

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

Issue 528783002: Change MediaStreamVideoSource::StartSourceImpl to use VideoCaptureFormat instead of VideoCapturePar… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 6 years, 3 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_source.cc
diff --git a/content/renderer/media/media_stream_video_source.cc b/content/renderer/media/media_stream_video_source.cc
index 3c19faab3c55a60c0986975e3a086dad3a0e58d1..6855adef140df2741e1e20096f92b6a480b4a379 100644
--- a/content/renderer/media/media_stream_video_source.cc
+++ b/content/renderer/media/media_stream_video_source.cc
@@ -482,10 +482,8 @@ void MediaStreamVideoSource::OnSupportedFormats(
state_ = STARTING;
DVLOG(3) << "Starting the capturer with " << current_format_.ToString();
- media::VideoCaptureParams params;
- params.requested_format = current_format_;
StartSourceImpl(
- params,
+ current_format_,
base::Bind(&VideoTrackAdapter::DeliverFrameOnIO, track_adapter_));
}
« no previous file with comments | « content/renderer/media/media_stream_video_source.h ('k') | content/renderer/media/media_stream_video_source_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698