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

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

Issue 532533002: Add ToString function for media::VideoCaptureFormat (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile test 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 ba8bb54fe2834a98759deece07f40fc415383099..3c19faab3c55a60c0986975e3a086dad3a0e58d1 100644
--- a/content/renderer/media/media_stream_video_source.cc
+++ b/content/renderer/media/media_stream_video_source.cc
@@ -480,13 +480,7 @@ void MediaStreamVideoSource::OnSupportedFormats(
}
state_ = STARTING;
- DVLOG(3) << "Starting the capturer with"
- << " width = " << current_format_.frame_size.width()
- << " height = " << current_format_.frame_size.height()
- << " frame rate = " << current_format_.frame_rate
- << " pixel format = "
- << media::VideoCaptureFormat::PixelFormatToString(
- current_format_.pixel_format);
+ DVLOG(3) << "Starting the capturer with " << current_format_.ToString();
media::VideoCaptureParams params;
params.requested_format = current_format_;

Powered by Google App Engine
This is Rietveld 408576698