mediainfo-native 0.2.0 → 0.2.1

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
2
  SHA1:
3
- metadata.gz: 14e483e13ba90074ace4758b47ad4a160fabbf0d
4
- data.tar.gz: edff03c0b6303b2a5280bdabaf7f6871fca7633b
3
+ metadata.gz: 257c92b32c0c4df884743a42dda462376811d041
4
+ data.tar.gz: 5d64b60a1bfc24079da558268782f3cb5e56a287
5
5
  SHA512:
6
- metadata.gz: 0f9ca6ca5a6116a82564702d1677ef1d69f52063992b88d90ddc3a1d3aaed26bf02a78107b1bd8b6a9dc8f6a1af7c8f0fd01cd6cd3b04a11a727c2233135acff
7
- data.tar.gz: db19a765a3945dd8f1c0d788be92ffd1db6b726e12323a55e0d3d67140eb3b744f0d33537a1cc467960710184095a153af4c7987926b9bad7f83538c8e7b7250
6
+ metadata.gz: 7208a5117c0692210934cb8f36d4c8b35b4f238badf1f9aa6e2011901487672bf210afde64d490c748b114dc8bacb3a88b6245ead621a235286325acf47a0ee6
7
+ data.tar.gz: 39b534822659817a3565ec971313228fd6b6d6105ac582f4d1688c67f6df6270743602b06976eabce0f498683b46d64daf12be31f31621c05725f051622afd67
@@ -63,6 +63,12 @@ module MediaInfoNative
63
63
  end
64
64
  alias_method :framerate, :fps
65
65
 
66
+ mediainfo_attr_reader :nominal_frame_rate, 'FrameRate_Nominal'
67
+ def nominal_fps
68
+ nominal_frame_rate[/[\d.]+/].to_f if nominal_frame_rate
69
+ end
70
+ alias_method :nominal_framerate, :nominal_fps
71
+
66
72
  mediainfo_attr_reader :minimum_frame_rate, 'FrameRate_Minimum'
67
73
  def min_fps
68
74
  minimum_frame_rate[/[\d.]+/].to_f if video?
@@ -1,3 +1,3 @@
1
1
  module MediaInfoNative
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
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.0
4
+ version: 0.2.1
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: 2015-01-21 00:00:00.000000000 Z
11
+ date: 2015-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake-compiler