You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ma...@apache.org on 2015/09/02 23:25:59 UTC

cordova-plugin-media-capture git commit: CB-9249 Fix iOS warnings in Media Capture plugin Part 2

Repository: cordova-plugin-media-capture
Updated Branches:
  refs/heads/master 4c85fa5f1 -> 73e87aa86


CB-9249 Fix iOS warnings in Media Capture plugin Part 2


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/commit/73e87aa8
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/tree/73e87aa8
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/diff/73e87aa8

Branch: refs/heads/master
Commit: 73e87aa86444af2fb3866b2aaaca2a1ab2bf1007
Parents: 4c85fa5
Author: Simon MacDonald <si...@gmail.com>
Authored: Wed Sep 2 16:11:00 2015 -0400
Committer: Simon MacDonald <si...@gmail.com>
Committed: Wed Sep 2 16:11:00 2015 -0400

----------------------------------------------------------------------
 src/ios/CDVCapture.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/blob/73e87aa8/src/ios/CDVCapture.m
----------------------------------------------------------------------
diff --git a/src/ios/CDVCapture.m b/src/ios/CDVCapture.m
index ff37b24..8361444 100644
--- a/src/ios/CDVCapture.m
+++ b/src/ios/CDVCapture.m
@@ -516,7 +516,7 @@
         result = [self processImage:image type:cameraPicker.mimeType forCallbackId:callbackId];
     } else if ([mediaType isEqualToString:(NSString*)kUTTypeMovie]) {
         // process video
-        NSString* moviePath = [[info objectForKey:UIImagePickerControllerMediaURL] path];
+        NSString* moviePath = [(NSURL *)[info objectForKey:UIImagePickerControllerMediaURL] path];
         if (moviePath) {
             result = [self processVideo:moviePath forCallbackId:callbackId];
         }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org