streamio-ffmpeg 0.6.8 → 0.6.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.6.8.1 2010-07-06
2
+
3
+ * Bugfix - aspect ratio was not calculated properly on movies with no DAR
4
+
1
5
  == 0.6.8 2010-07-06
2
6
 
3
7
  * Don't use encoding options with nil values
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.8
1
+ 0.6.8.1
data/lib/ffmpeg/movie.rb CHANGED
@@ -58,8 +58,8 @@ module FFMPEG
58
58
 
59
59
  def calculated_aspect_ratio
60
60
  if dar
61
- width, height = dar.split(":")
62
- width.to_f / height.to_f
61
+ w, h = dar.split(":")
62
+ w.to_f / h.to_f
63
63
  else
64
64
  aspect = width.to_f / height.to_f
65
65
  aspect.nan? ? nil : aspect
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{streamio-ffmpeg}
8
- s.version = "0.6.8"
8
+ s.version = "0.6.8.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["David Backeus"]
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: streamio-ffmpeg
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 93
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
9
  - 8
10
- version: 0.6.8
10
+ - 1
11
+ version: 0.6.8.1
11
12
  platform: ruby
12
13
  authors:
13
14
  - David Backeus