From dd317d8e0c9a0c9c5445fd93c0cc71309556f06c Mon Sep 17 00:00:00 2001 From: TJ Holowaychuk Date: Fri, 30 Aug 2013 11:13:46 -0700 Subject: [PATCH 1/2] use conditionals so they blend less --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 0771028..e684cb8 100644 --- a/index.js +++ b/index.js @@ -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); From ea15d98efed4201e170088bb79c874d0993b718a Mon Sep 17 00:00:00 2001 From: TJ Holowaychuk Date: Fri, 30 Aug 2013 11:13:48 -0700 Subject: [PATCH 2/2] changelog --- History.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 History.md diff --git a/History.md b/History.md new file mode 100644 index 0000000..7dac523 --- /dev/null +++ b/History.md @@ -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