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

Unified Diff: media/video/capture/mac/avfoundation_glue.mm

Issue 258783007: Mac AVFoundation: Allow use of all camera's supported resolutions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: bemasc@ nit Created 6 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: media/video/capture/mac/avfoundation_glue.mm
diff --git a/media/video/capture/mac/avfoundation_glue.mm b/media/video/capture/mac/avfoundation_glue.mm
index ae53f5d054934fb630ae316015dc6f8016426572..a22898610029dcd5ec42f2cc1f33c1f358be32bd 100644
--- a/media/video/capture/mac/avfoundation_glue.mm
+++ b/media/video/capture/mac/avfoundation_glue.mm
@@ -45,9 +45,6 @@ class AVFoundationInternal {
{&AVCaptureSessionDidStopRunningNotification_,
"AVCaptureSessionDidStopRunningNotification"},
{&AVCaptureSessionErrorKey_, "AVCaptureSessionErrorKey"},
- {&AVCaptureSessionPreset320x240_, "AVCaptureSessionPreset320x240"},
- {&AVCaptureSessionPreset640x480_, "AVCaptureSessionPreset640x480"},
- {&AVCaptureSessionPreset1280x720_, "AVCaptureSessionPreset1280x720"},
{&AVVideoScalingModeKey_, "AVVideoScalingModeKey"},
{&AVVideoScalingModeResizeAspectFill_,
"AVVideoScalingModeResizeAspectFill"},
@@ -80,15 +77,6 @@ class AVFoundationInternal {
NSString* AVCaptureSessionErrorKey() const {
return AVCaptureSessionErrorKey_;
}
- NSString* AVCaptureSessionPreset320x240() const {
- return AVCaptureSessionPreset320x240_;
- }
- NSString* AVCaptureSessionPreset640x480() const {
- return AVCaptureSessionPreset640x480_;
- }
- NSString* AVCaptureSessionPreset1280x720() const {
- return AVCaptureSessionPreset1280x720_;
- }
NSString* AVVideoScalingModeKey() const { return AVVideoScalingModeKey_; }
NSString* AVVideoScalingModeResizeAspectFill() const {
return AVVideoScalingModeResizeAspectFill_;
@@ -106,9 +94,6 @@ class AVFoundationInternal {
NSString* AVCaptureSessionRuntimeErrorNotification_;
NSString* AVCaptureSessionDidStopRunningNotification_;
NSString* AVCaptureSessionErrorKey_;
- NSString* AVCaptureSessionPreset320x240_;
- NSString* AVCaptureSessionPreset640x480_;
- NSString* AVCaptureSessionPreset1280x720_;
NSString* AVVideoScalingModeKey_;
NSString* AVVideoScalingModeResizeAspectFill_;
@@ -173,18 +158,6 @@ NSString* AVFoundationGlue::AVCaptureSessionErrorKey() {
return g_avfoundation_handle.Get().AVCaptureSessionErrorKey();
}
-NSString* AVFoundationGlue::AVCaptureSessionPreset320x240() {
- return g_avfoundation_handle.Get().AVCaptureSessionPreset320x240();
-}
-
-NSString* AVFoundationGlue::AVCaptureSessionPreset640x480() {
- return g_avfoundation_handle.Get().AVCaptureSessionPreset640x480();
-}
-
-NSString* AVFoundationGlue::AVCaptureSessionPreset1280x720() {
- return g_avfoundation_handle.Get().AVCaptureSessionPreset1280x720();
-}
-
NSString* AVFoundationGlue::AVVideoScalingModeKey() {
return g_avfoundation_handle.Get().AVVideoScalingModeKey();
}
« no previous file with comments | « media/video/capture/mac/avfoundation_glue.h ('k') | media/video/capture/mac/video_capture_device_avfoundation_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698