lib/mediainfo/tracks.rb in mediainfo-1.3.2 vs lib/mediainfo/tracks.rb in mediainfo-1.3.3

- old
+ new

@@ -114,10 +114,10 @@ value end def self.standardize_to_milliseconds(value) - return standardize_float_to_milliseconds(value.to_f) if value.to_f.to_s == value.to_s + return standardize_float_to_milliseconds(value.to_f) if value =~ /^\d+\.?\d*$/ return standardize_string_to_milliseconds(value) value end def self.standardize_string_to_milliseconds(v, base_msec = 0)