paperclip-ffmpeg 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/paperclip-ffmpeg.rb +0 -1
- data/paperclip-ffmpeg.gemspec +1 -1
- metadata +2 -2
data/lib/paperclip-ffmpeg.rb
CHANGED
@@ -137,7 +137,6 @@ module Paperclip
|
|
137
137
|
# Matching Duration: 00:01:31.66, start: 0.000000, bitrate: 10404 kb/s
|
138
138
|
if line =~ /Duration:(\s.?(\d*):(\d*):(\d*\.\d*))/
|
139
139
|
meta[:length] = $2.to_s + ":" + $3.to_s + ":" + $4.to_s
|
140
|
-
meta[:frames] = ($4.to_i + ($3.to_i * 60) + ($2.to_i * 60 * 60)) * meta[:fps]
|
141
140
|
end
|
142
141
|
end
|
143
142
|
meta
|
data/paperclip-ffmpeg.gemspec
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: paperclip-ffmpeg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.6.
|
5
|
+
version: 0.6.3
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Omar Abdel-Wahab
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-07-
|
13
|
+
date: 2011-07-10 00:00:00 +02:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|