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. |