lib/wgif/video.rb in wgif-0.5.2 vs lib/wgif/video.rb in wgif-0.5.3
- old
+ new
@@ -40,10 +40,10 @@
FileUtils.rm Dir.glob('/tmp/wgif/frames/*.png')
FileUtils.mkdir_p '/tmp/wgif/frames'
end
def open_frame_dir
- Dir.glob('/tmp/wgif/frames/*.png')
+ Dir.glob('/tmp/wgif/frames/*.png').sort
end
def transcode(clip, file, options)
clip.transcode(file, options)
rescue FFMPEG::Error => error