Skip to content

Commit 383a5b2

Browse files
authored
Merge pull request #110 from shmurakami/master
Inherit user config to parser
2 parents 3dc1e0c + df86fab commit 383a5b2

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ vendor
55
*.sql.gz
66
examples/output/*
77
examples/tmp/*
8-
/.idea/
8+
.idea

.idea/vcs.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/PHPVideoToolkit/Format.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public function __construct($input_output_type=Format::OUTPUT, Config $config=nu
118118
'threads_indexed' => null,
119119
);
120120

121-
$ffmpeg = new FfmpegParser();
121+
$ffmpeg = new FfmpegParser($config);
122122
$available_commands = $ffmpeg->getCommands();
123123
if(isset($available_commands['crf']))
124124
{

0 commit comments

Comments
 (0)