lib/dragonfly-ffmpeg/analyser.rb in dragonfly-ffmpeg-0.0.4 vs lib/dragonfly-ffmpeg/analyser.rb in dragonfly-ffmpeg-0.1.0
- old
+ new
@@ -22,9 +22,13 @@
module Dragonfly
module FFMPEG
class Analyser
include ::Dragonfly::Loggable
+
+ def ext(temp_object)
+ File.extname(temp_object.path)
+ end
def frame_rate(temp_object)
inspect(:frame_rate, temp_object)
end
alias_method :fps, :frame_rate