Set a default duration to 0 to fix issue 333 (#334)
This commit is contained in:
parent
2ddf9ae377
commit
edf87d9cb1
1 changed files with 2 additions and 1 deletions
|
|
@ -79,6 +79,7 @@ class ExtractMultipleFramesFilter implements VideoFilterInterface
|
||||||
public function apply(Video $video, VideoInterface $format)
|
public function apply(Video $video, VideoInterface $format)
|
||||||
{
|
{
|
||||||
$commands = array();
|
$commands = array();
|
||||||
|
$duration = 0;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// Get the duration of the video
|
// Get the duration of the video
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue