mediainfo-native 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 7626158e151bd3538fb0c2cca718ed335c63b6e9
4
- data.tar.gz: 6db3def0dd85a3e2b45371bd110fb4d91466a6c5
2
+ SHA256:
3
+ metadata.gz: fb2f5f27f4b08cd8e27cf5d8f3a18edb52d47a2011e109c414baf9c979facb08
4
+ data.tar.gz: 0bbb27f1219a3f8f4af2ebe7799cdec8d4aa576f48b192e7abc4653b505f62ee
5
5
  SHA512:
6
- metadata.gz: cede0d0b9b6b2b0480ad3a7f61c2fb18edcf17db70eb21457bea95f5cb974fe6946b3c64e4219b0574c0a8eb53c58ef0a3ca489b9231f9d3c08500d6bb456004
7
- data.tar.gz: 11f58fe7d7ae54222c08c381c525e66eaece7a65320d5ce0ea7cec29c757248abcc503f486fcf4c5db1862fee2ed1276cf8d8c0de49ea1353d28e726d429d20c
6
+ metadata.gz: 640c7c0c4eb1bfa5cb67296460c85431b049ba58e619cbeadac4b98d348791a942dcdfbee3e7d3a27736959e848f7f10390e18c1d58e3b2d6d2c80acd524d6db
7
+ data.tar.gz: 8e0d5a1255e1b7681009137ef3c4ba059fc9e7f7174e1abb59ca616d8ce4205631ebe071b9062b97dc1a9281b41583bdb04f326d8f715546c0d03d292faadb09
@@ -35,6 +35,8 @@ module MediaInfoNative
35
35
  end
36
36
 
37
37
  class StreamProxy
38
+ include Enumerable
39
+
38
40
  def initialize(streams)
39
41
  @streams = streams
40
42
  end
@@ -46,6 +48,10 @@ module MediaInfoNative
46
48
  def [](idx); @streams[idx]; end
47
49
  def count; @streams.size; end
48
50
 
51
+ def each(&blk)
52
+ @streams.each(&blk)
53
+ end
54
+
49
55
  def respond_to?(meth, include_all = false)
50
56
  begin
51
57
  case @streams.size
@@ -28,6 +28,8 @@ module MediaInfoNative
28
28
  mediainfo_attr_reader :codec, 'Codec'
29
29
  mediainfo_attr_reader :codec_id_hint, 'CodecID/Hint'
30
30
  mediainfo_attr_reader :channel_positions, 'ChannelPositions'
31
+ mediainfo_attr_reader :muxing_mode, 'MuxingMode'
32
+ mediainfo_attr_reader :muxing_mode_info, 'MuxingMode_MoreInfo'
31
33
 
32
34
  mediainfo_int_reader :channels, 'Channel(s)'
33
35
  def stereo?; 2 == channels; end
@@ -1,3 +1,3 @@
1
1
  module MediaInfoNative
2
- VERSION = '0.2.5'
2
+ VERSION = '0.2.6'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mediainfo-native
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - FlavourSys Technology GmbH
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-12 00:00:00.000000000 Z
11
+ date: 2019-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake-compiler
@@ -85,8 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  - !ruby/object:Gem::Version
86
86
  version: '0'
87
87
  requirements: []
88
- rubyforge_project:
89
- rubygems_version: 2.6.11
88
+ rubygems_version: 3.0.1
90
89
  signing_key:
91
90
  specification_version: 4
92
91
  summary: Native bindings for mediainfo