Class: Gst::TagList

Inherits:
Object
  • Object
show all
Includes:
Enumerable
Defined in:
lib/gst/tag-list.rb

Instance Method Summary collapse

Instance Method Details

#eachObject



22
23
24
25
26
27
28
29
30
# File 'lib/gst/tag-list.rb', line 22

def each
  each_raw do |_tag_list, tag|
    n_values = get_tag_size(tag)
    values = n_values.times.collect do |i|
      get_value_index(tag, i).value
    end
    yield(tag, values)
  end
end

#each_rawObject



21
# File 'lib/gst/tag-list.rb', line 21

alias_method :each_raw, :each