Fix bug introduced with #219 , it wasn't reading a normal ffmpeg process' output
This commit is contained in:
parent
a3b74e8af5
commit
86d1329b8c
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user