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

Unified Diff: media/video/capture/win/video_capture_device_factory_win.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: media/video/capture/win/video_capture_device_factory_win.cc
diff --git a/media/video/capture/win/video_capture_device_factory_win.cc b/media/video/capture/win/video_capture_device_factory_win.cc
index f36f4e6a3aec4a6de6e3b66cd64ee53811d5ee8e..e1314dfd613ba1db5d2a8295c2c02a179b1960a4 100644
--- a/media/video/capture/win/video_capture_device_factory_win.cc
+++ b/media/video/capture/win/video_capture_device_factory_win.cc
@@ -273,9 +273,7 @@ static void GetDeviceSupportedFormatsDirectShow(const Name& device,
kSecondsToReferenceTime / static_cast<float>(h->AvgTimePerFrame) :
0.0f;
formats->push_back(format);
- DVLOG(1) << device.name() << " resolution: "
- << format.frame_size.ToString() << ", fps: " << format.frame_rate
- << ", pixel format: " << format.pixel_format;
+ DVLOG(1) << device.name() << " " << format.ToString();
}
}
}
@@ -336,10 +334,7 @@ static void GetDeviceSupportedFormatsMediaFoundation(
formats->push_back(capture_format);
++stream_index;
- DVLOG(1) << device.name() << " resolution: "
- << capture_format.frame_size.ToString() << ", fps: "
- << capture_format.frame_rate << ", pixel format: "
- << capture_format.pixel_format;
+ DVLOG(1) << device.name() << " " << capture_format.ToString();
}
}
« media/video/capture/video_capture_types.cc ('K') | « media/video/capture/video_capture_types.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698