From ca8eea7ec60f3f8a6e46961d964299c8a2c28ebd Mon Sep 17 00:00:00 2001 From: Romain Biard Date: Wed, 11 Jan 2017 10:59:22 -0300 Subject: [PATCH] We fix the usage of --- src/FFMpeg/Filters/Video/ExtractMultipleFramesFilter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FFMpeg/Filters/Video/ExtractMultipleFramesFilter.php b/src/FFMpeg/Filters/Video/ExtractMultipleFramesFilter.php index 2c4b9cb..bb26bc9 100644 --- a/src/FFMpeg/Filters/Video/ExtractMultipleFramesFilter.php +++ b/src/FFMpeg/Filters/Video/ExtractMultipleFramesFilter.php @@ -81,7 +81,7 @@ class ExtractMultipleFramesFilter implements VideoFilterInterface try { // Get the duration of the video - $duration = $this->getFormat()->get('duration'); + $duration = $format()->get('duration'); // Get the number of frames per second we have to extract. if(preg_match('/(\d+)(?:\s*)([\+\-\*\/])(?:\s*)(\d+)/', $this->frameRate, $matches) !== FALSE){