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

Unified Diff: webrtc/modules/video_capture/video_capture_defines.h

Issue 2765243002: Delete RawVideoType enum, use the VideoType enum instead. (Closed)
Patch Set: Define constant webrtc::kI420, for backwards compatibility. Created 3 years, 8 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: webrtc/modules/video_capture/video_capture_defines.h
diff --git a/webrtc/modules/video_capture/video_capture_defines.h b/webrtc/modules/video_capture/video_capture_defines.h
index 90693ad2fe43ebaaa88c239cdd795ae07e61987d..ed813623f7fc80b4acab6902cb048c56a7310d58 100644
--- a/webrtc/modules/video_capture/video_capture_defines.h
+++ b/webrtc/modules/video_capture/video_capture_defines.h
@@ -31,7 +31,7 @@ struct VideoCaptureCapability
int32_t width;
int32_t height;
int32_t maxFPS;
- RawVideoType rawType;
+ VideoType videoType;
bool interlaced;
VideoCaptureCapability()
@@ -39,7 +39,7 @@ struct VideoCaptureCapability
width = 0;
height = 0;
maxFPS = 0;
- rawType = kVideoUnknown;
+ videoType = VideoType::kUnknown;
interlaced = false;
}
;
@@ -51,8 +51,8 @@ struct VideoCaptureCapability
return true;
if (maxFPS != other.maxFPS)
return true;
- if (rawType != other.rawType)
- return true;
+ if (videoType != other.videoType)
+ return true;
if (interlaced != other.interlaced)
return true;
return false;
« no previous file with comments | « webrtc/modules/video_capture/test/video_capture_unittest.cc ('k') | webrtc/modules/video_capture/video_capture_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698