mxfinfo 0.0.3.5 → 0.0.3.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -50,6 +50,12 @@ class MXFinfo
50
50
  t
51
51
  }
52
52
  end
53
+
54
+ def mxfinfo_timecode_reader(*a)
55
+ mxfinfo_attr_reader(*a) { |v|
56
+ v.split(" ")[2].gsub(/\(|\)/,"")
57
+ }
58
+ end
53
59
  end
54
60
  end
55
61
  end
@@ -1,3 +1,3 @@
1
1
  class MXFinfo
2
- VERSION = "0.0.3.5"
2
+ VERSION = "0.0.3.6"
3
3
  end
data/lib/mxfinfo.rb CHANGED
@@ -88,7 +88,7 @@ class MXFinfo
88
88
  mxfinfo_duration_reader :track_duration
89
89
  mxfinfo_duration_reader :track_segment_duration
90
90
  mxfinfo_duration_reader :track_segment_offset
91
- mxfinfo_duration_reader :start_timecode
91
+ mxfinfo_timecode_reader :start_timecode
92
92
  mxfinfo_attr_reader :audio_sampling_rate
93
93
 
94
94
  mxfinfo_attr_reader :channelcount, "Channel Count"
@@ -71,7 +71,7 @@ describe "IMG_0395.MOV.A14DC7130D.mxf" do
71
71
  end
72
72
 
73
73
  it "should have a start timecode" do
74
- @info.start_timecode.should == 0
74
+ @info.start_timecode.should == "00:00:00:00"
75
75
  end
76
76
 
77
77
  it "should have a audio sampling rate" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mxfinfo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3.5
4
+ version: 0.0.3.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-24 00:00:00.000000000 Z
12
+ date: 2012-08-10 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: MXFinfo is a gem to use avidmxfinfo from http://ingex.sourceforge.net/
15
15
  directly in ruby.