lib/export/flame_stabilizer.rb in tracksperanto-2.8.5 vs lib/export/flame_stabilizer.rb in tracksperanto-2.8.6

- old
+ new

@@ -14,16 +14,16 @@ def start_export( img_width, img_height) @counter = 0 @width, @height = img_width, img_height @temp = Tracksperanto::BufferIO.new - @writer = Tracksperanto::FlameBuilder.new(@temp) + @writer = FlameChannelParser::Builder.new(@temp) end def end_export # Now make another writer, this time for our main IO - @writer = Tracksperanto::FlameBuilder.new(@io) + @writer = FlameChannelParser::Builder.new(@io) # Now we know how many trackers we have so we can write the header # data along with NbTrackers write_header_with_number_of_trackers(@counter) @@ -113,10 +113,10 @@ end end end def prefix(tracker_channel) - ["tracker#{@counter}", tracker_channel].join("/") + "tracker%d/%s" % [@counter, tracker_channel] end def write_header_with_number_of_trackers(number_of_trackers) @writer.stabilizer_file_version "5.0" @writer.creation_date(Time.now.strftime(DATETIME_FORMAT))