Skip to content

Commit a0cbccd

Browse files
committed
Relax validation criteria for HandBrake-generated .log file
in `query-handbrake-log`.
1 parent d77fe00 commit a0cbccd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/query-handbrake-log

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ HERE
137137
File.foreach(log) do |line|
138138
found = true if not found and line =~ /^HandBrake/
139139
count += 1
140-
fail "not a HandBrake-generated `.log` file: #{log}" if count > 5 and not found
140+
fail "not a HandBrake-generated `.log` file: #{log}" if count > 10 and not found
141141
duration_line = line if duration_line.nil? and line =~ /\+ duration: /
142142
rate_line = line if line =~ /\+ frame rate: /
143143

0 commit comments

Comments
 (0)