spec/avi2_spec.rb in aviglitch-0.2.0 vs spec/avi2_spec.rb in aviglitch-0.2.2
- old
+ new
@@ -29,9 +29,10 @@
n = Math.log(1024.0 ** 3 / a.frames.data_size.to_f, 2).ceil
f = a.frames[0..-1]
n.times do
fx = f[0..-1]
f.concat fx
+ fx.terminate
end
f.to_avi.output @out
b = AviGlitch.open @out
b.avi.was_avi2?.should be true
b.close
\ No newline at end of file