You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2016/12/08 00:57:17 UTC

[5/8] cordova-plugin-media-capture git commit: CB-10488 Fix for MediaFile.getFormatData

CB-10488 Fix for MediaFile.getFormatData


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/ab8b6330
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/tree/ab8b6330
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/diff/ab8b6330

Branch: refs/heads/1.4.x
Commit: ab8b63308c1df274b7c98f816ee7f41fcec98313
Parents: cd7d40d
Author: TanaseButcaru <co...@butcaru.com>
Authored: Mon Feb 1 00:42:07 2016 +0200
Committer: Vladimir Kotikov <ko...@gmail.com>
Committed: Wed Oct 26 14:52:16 2016 +0300

----------------------------------------------------------------------
 www/MediaFile.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/blob/ab8b6330/www/MediaFile.js
----------------------------------------------------------------------
diff --git a/www/MediaFile.js b/www/MediaFile.js
index 1bc600f..49b73be 100644
--- a/www/MediaFile.js
+++ b/www/MediaFile.js
@@ -48,7 +48,7 @@ MediaFile.prototype.getFormatData = function(successCallback, errorCallback) {
     if (typeof this.fullPath === "undefined" || this.fullPath === null) {
         errorCallback(new CaptureError(CaptureError.CAPTURE_INVALID_ARGUMENT));
     } else {
-        exec(successCallback, errorCallback, "Capture", "getFormatData", [this.localURL, this.type]);
+        exec(successCallback, errorCallback, "Capture", "getFormatData", [this.fullPath, this.type]);
     }
 };
 


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