Fix width / height extraction
This commit is contained in:
parent
f73d94fd74
commit
9f8c23dc97
1 changed files with 2 additions and 2 deletions
|
|
@ -241,11 +241,11 @@ class FFMpeg extends Binary
|
|||
foreach ($result as $stream) {
|
||||
foreach ($stream as $name => $value) {
|
||||
if ($name == 'width') {
|
||||
$originalWidth = substr($info, 6);
|
||||
$originalWidth = $value;
|
||||
continue;
|
||||
}
|
||||
if ($name == 'value') {
|
||||
$originalHeight = substr($info, 7);
|
||||
$originalHeight = $value;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue