Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Returned this in some functions to allow chaining.

  • Loading branch information...
commit d990fa9b5b4aa792d6e1b9e3314cdc1c3da3b93d 1 parent 01d5115
@manast manast authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  lib/navcodec.js
View
3  lib/navcodec.js
@@ -87,14 +87,17 @@ var Media = function(inputFormat, fileSize){
Media.prototype.info = function(){
this.inputFormat.dump();
+ return this;
}
Media.prototype.addOutput = function(filename, options){
this._outputs.push({filename:filename, options:options});
+ return this;
}
Media.prototype.thumbnail = function(filenames, options){
this._thumbnails.push({filenames:filenames, options:options});
+ return this;
}
Media.prototype.transcode = function(cb){
Please sign in to comment.
Something went wrong with that request. Please try again.