Fix ffmpeg-preset option in download command

This commit is contained in:
Valentine Briese 2023-10-12 11:04:12 -07:00
parent 5bc68ad592
commit 371b5b5606

View file

@ -148,7 +148,8 @@ impl Execute for Download {
Some("mpegts".to_string()) Some("mpegts".to_string())
} else { } else {
None None
}); })
.ffmpeg_preset(self.ffmpeg_preset.clone().unwrap_or_default());
for mut single_formats in single_format_collection.into_iter() { for mut single_formats in single_format_collection.into_iter() {
// the vec contains always only one item // the vec contains always only one item