fix(config): made ffmpeg config section more optional
This commit is contained in:
parent
05848b6701
commit
f68806d814
4 changed files with 5 additions and 5 deletions
|
@ -19,7 +19,7 @@ impl TranscodeJob {
|
|||
pub fn build_command(&self, ffmpeg_config: &ConfigFFmpeg) -> Command {
|
||||
ffmpeg_config
|
||||
.build_command_options(&self.input, &self.output)
|
||||
.to_command(&ffmpeg_config.path)
|
||||
.to_command(&ffmpeg_config.path.clone().unwrap_or("ffmpeg".to_string()))
|
||||
}
|
||||
|
||||
pub fn check_if_exists(&self) -> bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue