Sha256: d8d1f6145f66dd334143e70d3391512952b4c113447fd85672c76f06d1f64297
Contents?: true
Size: 371 Bytes
Versions: 2
Compression:
Stored size: 371 Bytes
Contents
module FLV module Edit module Processor class Head < Base desc "Processes only the first NB tags.", :param => {:class => Integer, :name => "NB"}, :shortcut => "n" def on_header(header) @count = self.options[:head] end def on_tag(tag) throw :stop if (@count -= 1) < 0 end end end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
marcandre-flvedit-0.6.1 | lib/flv/edit/processor/head.rb |
flvedit-0.6.1 | lib/flv/edit/processor/head.rb |