rename to av because its video with audio

This commit is contained in:
mykola2312 2024-02-20 16:09:11 +02:00
parent 6602016d44
commit 9414fb51bd
2 changed files with 2 additions and 2 deletions

View file

@ -82,7 +82,7 @@ impl YtDlpInfo {
Ok(info)
}
pub fn best_video_format(&self) -> Option<&YtDlpFormat> {
pub fn best_av_format(&self) -> Option<&YtDlpFormat> {
let format = self
.formats
.iter()

View file

@ -44,7 +44,7 @@ async fn main() -> anyhow::Result<()> {
}
println!("");
let video = info.best_video_format().unwrap();
let video = info.best_av_format().unwrap();
println!("{}", video);
Ok(())