Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 9125ade

Browse files
Johan KanefurNicolas Joyard
authored andcommitted
Fixed empty line bug with rotation matrix
1 parent 15e1aaf commit 9125ade

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/ffprobe.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ function legacyDisposition(key) { return key.match(/^DISPOSITION:/); }
99

1010
function parseFfprobeOutput(out) {
1111
var lines = out.split(/\r\n|\r|\n/);
12+
13+
lines = lines.filter(function (line) {
14+
return line.length > 0;
15+
});
16+
1217
var data = {
1318
streams: [],
1419
format: {},

0 commit comments

Comments
 (0)