Fix bug introduced with #219 , it wasn't reading a normal ffmpeg process' output

This commit is contained in:
vexorian 2021-01-09 18:26:15 -04:00
parent a3b74e8af5
commit 86d1329b8c

View File

@ -15,7 +15,7 @@ class FFMPEGInfo {
}
});
});
var m = s.match( /version\s+([^\s]+)\s+[^\s].*Copyright/ )
var m = s.match( /version\s+([^\s]+)\s+.*Copyright/ )
if (m == null) {
console.error("ffmpeg -version command output not in the expected format: " + s);
return s;