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

Unified Diff: media/video/capture/video_capture_types.h

Issue 416553002: VideoCaptureFormat: add method to print out pixel format as string (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
« no previous file with comments | « content/renderer/media/media_stream_video_source.cc ('k') | media/video/capture/video_capture_types.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/video/capture/video_capture_types.h
diff --git a/media/video/capture/video_capture_types.h b/media/video/capture/video_capture_types.h
index 5f23a1b1760187f0c9b7e321f26fa2798cf80e41..a6a13a81b070cb33224012525bda8b8dc1911c18 100644
--- a/media/video/capture/video_capture_types.h
+++ b/media/video/capture/video_capture_types.h
@@ -46,6 +46,8 @@ class MEDIA_EXPORT VideoCaptureFormat {
float frame_rate,
VideoPixelFormat pixel_format);
+ static std::string PixelFormatToString(VideoPixelFormat format);
+
// Checks that all values are in the expected range. All limits are specified
// in media::Limits.
bool IsValid() const;
« no previous file with comments | « content/renderer/media/media_stream_video_source.cc ('k') | media/video/capture/video_capture_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698