hornetseye-ffmpeg 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/hornetseye-ffmpeg/avoutput.rb +3 -0
- metadata +3 -3
data/Rakefile
CHANGED
@@ -24,6 +24,9 @@ module Hornetseye
|
|
24
24
|
alias_method :orig_new, :new
|
25
25
|
|
26
26
|
def new( mrl, bitrate, width, height, frame_rate )
|
27
|
+
if frame_rate.is_a? Float
|
28
|
+
frame_rate = Rational( 90000, ( 90000 / frame_rate ).to_i )
|
29
|
+
end
|
27
30
|
orig_new mrl, bitrate, width, height,
|
28
31
|
frame_rate.denominator, frame_rate.numerator
|
29
32
|
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 5
|
8
|
-
-
|
9
|
-
version: 0.5.
|
8
|
+
- 2
|
9
|
+
version: 0.5.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Jan Wedekind
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-10-
|
17
|
+
date: 2010-10-20 00:00:00 +01:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|