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

Unified Diff: webrtc/sdk/objc/Framework/Classes/Video/AVCaptureSession+DevicePosition.mm

Issue 2988783002: Removed file RTCCameraVideoCapturer.mm that isn't needed (Closed)
Patch Set: Added changes from review of 2964703002 after commit. Created 3 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
Index: webrtc/sdk/objc/Framework/Classes/Video/AVCaptureSession+DevicePosition.mm
diff --git a/webrtc/sdk/objc/Framework/Classes/Video/AVCaptureSession+Device.mm b/webrtc/sdk/objc/Framework/Classes/Video/AVCaptureSession+DevicePosition.mm
similarity index 95%
rename from webrtc/sdk/objc/Framework/Classes/Video/AVCaptureSession+Device.mm
rename to webrtc/sdk/objc/Framework/Classes/Video/AVCaptureSession+DevicePosition.mm
index 3b053dfe52d2207476fda259dedc65a0cb270881..0814ecc6c544f547001c1f2525772bf521ab46d6 100644
--- a/webrtc/sdk/objc/Framework/Classes/Video/AVCaptureSession+Device.mm
+++ b/webrtc/sdk/objc/Framework/Classes/Video/AVCaptureSession+DevicePosition.mm
@@ -8,7 +8,7 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#import "AVCaptureSession+Device.h"
+#import "AVCaptureSession+DevicePosition.h"
BOOL CFStringContainsString(CFStringRef theString, CFStringRef stringToFind) {
return CFStringFindWithOptions(theString,
@@ -18,7 +18,7 @@ BOOL CFStringContainsString(CFStringRef theString, CFStringRef stringToFind) {
nil);
}
-@implementation AVCaptureSession (Device)
+@implementation AVCaptureSession (DevicePosition)
+ (AVCaptureDevicePosition)devicePositionForSampleBuffer:(CMSampleBufferRef)sampleBuffer {
// Check the image's EXIF for the camera the image came from.

Powered by Google App Engine
This is Rietveld 408576698