Fix ffmpeg-preset option in download command (#254)

This commit is contained in:
Valentine Briese 2023-10-12 12:20:06 -07:00 committed by GitHub
parent 5bc68ad592
commit e5db8e9504
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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