lib/vtools/thumbnailer.rb in vtools-1.0.0 vs lib/vtools/thumbnailer.rb in vtools-1.0.1
- old
+ new
@@ -39,10 +39,9 @@
lines = stdout.readlines.join(" ")
VTools.fix_encoding lines
# save thumb if no error
if (error = lines).empty?
thumbs << thumb = {:path => file, :offset => time_offset(seconds)}
-
Hook.exec :in_thumb, @video, thumb # callbacks
else
errors << "#{error} (#{file})"
end
end