media_info 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/media_info/stream.rb +5 -0
- data/lib/media_info/version.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19a9752cf16b8f2a8ec40091fe12ec898ef376d0
|
4
|
+
data.tar.gz: c8e4d3ee7ec7d26f6adff8a2749f6a39e1d2f3b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7187750bd8218ddf3b694b48a655a2c9685d1984ff6dce9f97f8d83b8f232111ef12bc933660a1ea809069870e8212b7134f604656a9c528c3589b2d169dccd4
|
7
|
+
data.tar.gz: ad0fa5ffdf92fb8c4f480869df07be36a94c17066d8311a0f05bc5b3d63473c5e88362f791bc6d638cbcdd053455479d3d6f33b8eb7c85f0a83c3bbe16813232
|
data/lib/media_info/stream.rb
CHANGED
@@ -53,6 +53,7 @@ module MediaInfo
|
|
53
53
|
|
54
54
|
def initialize(params = {})
|
55
55
|
@_others = {}
|
56
|
+
@raw_attributes = params
|
56
57
|
|
57
58
|
params.each do |key, value|
|
58
59
|
unless respond_to?(key)
|
@@ -68,6 +69,10 @@ module MediaInfo
|
|
68
69
|
end
|
69
70
|
end
|
70
71
|
|
72
|
+
def raw_attributes
|
73
|
+
@raw_attributes
|
74
|
+
end
|
75
|
+
|
71
76
|
private
|
72
77
|
|
73
78
|
def count=(value)
|
data/lib/media_info/version.rb
CHANGED