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 +4 -4
- data/lib/mediainfo-native/streams/video.rb +6 -0
- data/lib/mediainfo-native/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 257c92b32c0c4df884743a42dda462376811d041
|
4
|
+
data.tar.gz: 5d64b60a1bfc24079da558268782f3cb5e56a287
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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?
|
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.
|
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-
|
11
|
+
date: 2015-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake-compiler
|