rename to av because its video with audio
This commit is contained in:
parent
9048693a15
commit
b6f5dc234d
2 changed files with 2 additions and 2 deletions
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -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(())
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue