Break if dimension is found
This commit is contained in:
parent
15711a0e50
commit
f530d60118
1 changed files with 1 additions and 0 deletions
|
|
@ -88,6 +88,7 @@ class ResizeFilter implements VideoFilterInterface
|
||||||
if ($stream->isVideo()) {
|
if ($stream->isVideo()) {
|
||||||
try {
|
try {
|
||||||
$dimensions = $stream->getDimensions();
|
$dimensions = $stream->getDimensions();
|
||||||
|
break;
|
||||||
} catch (RuntimeException $e) {
|
} catch (RuntimeException $e) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue