Skip to content

Commit

Permalink
Merge pull request tj#2 from visionmedia/master
Browse files Browse the repository at this point in the history
pulling in tj's changes
  • Loading branch information
overra committed Aug 30, 2013
2 parents db74560 + ea15d98 commit 756c33c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

0.1.0 / 2013-08-29
==================

* add auto delay
* add .rate option
* add garbage collection of tmpfiles
* use gm instead of gifsickle
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ function gify(input, output, opts, fn) {
cmd.push('-i', input);
cmd.push('-filter:v', 'scale=' + scale);
cmd.push('-r', String(rate));
opts.start && cmd.push('-ss', String(opts.start));
opts.duration && cmd.push('-t', String(opts.duration));
if (opts.start) cmd.push('-ss', String(opts.start));
if (opts.duration) cmd.push('-t', String(opts.duration));
cmd.push(tmp);
cmd = escape(cmd);

Expand Down

0 comments on commit 756c33c

Please sign in to comment.