class Mkv2m4v::VideoRanker
Public Instance Methods
score(track)
click to toggle source
# File lib/mkv2m4v/track_ranker.rb, line 38 def score(track) score = 0 score += 8 if track.format == "AVC" score += (track.height || 0)/ 1080.0 * 4.0 score += 2 if language_match?(track) score end