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

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

Issue 2668693008: Delete VideoCaptureCapability::codecType and related logic. (Closed)
Patch Set: Attempt to fix DeviceInfoImpl::GetBestMatchedCapability. Created 3 years, 10 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 b7ab61a07af4f905f8cf3927ab753137f86f8dc2..90693ad2fe43ebaaa88c239cdd795ae07e61987d 100644
--- a/webrtc/modules/video_capture/video_capture_defines.h
+++ b/webrtc/modules/video_capture/video_capture_defines.h
@@ -32,7 +32,6 @@ struct VideoCaptureCapability
int32_t height;
int32_t maxFPS;
RawVideoType rawType;
- VideoCodecType codecType;
bool interlaced;
VideoCaptureCapability()
@@ -41,7 +40,6 @@ struct VideoCaptureCapability
height = 0;
maxFPS = 0;
rawType = kVideoUnknown;
- codecType = kVideoCodecUnknown;
interlaced = false;
}
;
@@ -55,8 +53,6 @@ struct VideoCaptureCapability
return true;
if (rawType != other.rawType)
return true;
- if (codecType != other.codecType)
- return true;
if (interlaced != other.interlaced)
return true;
return false;
« no previous file with comments | « webrtc/modules/video_capture/objc/device_info_objc.mm ('k') | webrtc/modules/video_capture/video_capture_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698