Add Prober and threads to service provider
This commit is contained in:
parent
813289b109
commit
4a1c7857cf
1 changed files with 3 additions and 1 deletions
|
|
@ -39,7 +39,9 @@ class FFMpegServiceProvider implements ServiceProviderInterface
|
|||
$ffmpeg = FFMpeg::load($app['ffmpeg.logger']);
|
||||
}
|
||||
|
||||
return $ffmpeg->setThreads(isset($app['ffmpeg.threads']) ? $app['ffmpeg.threads'] : 1);
|
||||
return $ffmpeg
|
||||
->setProber($app['ffmpeg.ffprobe'])
|
||||
->setThreads(isset($app['ffmpeg.threads']) ? $app['ffmpeg.threads'] : 1);
|
||||
});
|
||||
|
||||
$app['ffmpeg.ffprobe'] = $app->share(function(Application $app) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue