kakra-rvideo 0.9.6.1 → 0.9.6.2
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/lib/rvideo/inspector.rb +4 -4
- data/rvideo.gemspec +1 -1
- metadata +1 -1
data/lib/rvideo/inspector.rb
CHANGED
|
@@ -78,12 +78,12 @@ module RVideo # :nodoc:
|
|
|
78
78
|
|
|
79
79
|
# Returns true if the file can be read successfully. Returns false otherwise.
|
|
80
80
|
def valid?
|
|
81
|
-
not
|
|
81
|
+
not invalid?
|
|
82
82
|
end
|
|
83
83
|
|
|
84
84
|
# Returns false if the file can be read successfully. Returns false otherwise.
|
|
85
85
|
def invalid?
|
|
86
|
-
|
|
86
|
+
@unknown_format or @unreadable_file
|
|
87
87
|
end
|
|
88
88
|
|
|
89
89
|
# True if the format is not understood ("Unknown Format")
|
|
@@ -466,8 +466,8 @@ module RVideo # :nodoc:
|
|
|
466
466
|
Video:\s*
|
|
467
467
|
#{VAL}#{SEP} # codec
|
|
468
468
|
(?:#{VAL}#{SEP})? # color space
|
|
469
|
-
(\d+)x(\d+)
|
|
470
|
-
|
|
469
|
+
(\d+)x(\d+)#{SEP}? # resolution
|
|
470
|
+
(?:\s*\[?(?:PAR\s*(\d+:\d+))?\s*(?:DAR\s*(\d+:\d+))?\]?)? # pixel and display aspect ratios
|
|
471
471
|
#{SEP}?
|
|
472
472
|
(?:#{RATE}\s*(kb\/s)#{SEP}?)? # video bit rate
|
|
473
473
|
(?:#{RATE}\s*(?:tbr|tb\(r\)|#{FPS})#{SEP}?)? # frame rate
|
data/rvideo.gemspec
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = %q{rvideo}
|
|
5
|
-
s.version = "0.9.6.
|
|
5
|
+
s.version = "0.9.6.2"
|
|
6
6
|
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
|
8
8
|
s.authors = ["Peter Boling, Jonathan Dahl (Slantwise Design), Seth Thomas Rasmussen, Kai Krakow"]
|