lib/edl/cutter.rb in edl-0.0.1 vs lib/edl/cutter.rb in edl-0.0.2
- old
+ new
@@ -1,8 +1,8 @@
module EDL
# Can chop an offline edit into events according to the EDL
- class Cutter
+ class Cutter #:nodoc:
def initialize(source_path)
@source_path = source_path
end
def cut(edl)
@@ -16,10 +16,10 @@
def cut_segment(evt, start_at, end_at)
STDERR.puts "Cutting #{@source_path} from #{start_at} to #{end_at} - #{evt.num}"
end
end
- class FFMpegCutter < Cutter
+ class FFMpegCutter < Cutter #:nodoc:
def cut_segment(evt, start_at, end_at)
source_dir, source_file = File.dirname(@source_path), File.basename(@source_path)
dest_segment = File.join(source_dir, ('%s_%s' % [evt.num, source_file]))
# dest_segment.gsub!(/\.mov$/i, '.mp4')
\ No newline at end of file