backport: fix clippy warning duplicate naming
This commit is contained in:
parent
b96e765f0b
commit
53aebc779b
@ -13,7 +13,7 @@ use std::{
|
|||||||
use std::env;
|
use std::env;
|
||||||
|
|
||||||
use chrono::{prelude::*, Duration};
|
use chrono::{prelude::*, Duration};
|
||||||
use ffprobe::{ffprobe, Format, Stream};
|
use ffprobe::{ffprobe, Format, Stream as FFStream};
|
||||||
use rand::prelude::*;
|
use rand::prelude::*;
|
||||||
use regex::Regex;
|
use regex::Regex;
|
||||||
use reqwest::header;
|
use reqwest::header;
|
||||||
@ -205,8 +205,8 @@ fn is_empty_string(st: &String) -> bool {
|
|||||||
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
|
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
|
||||||
pub struct MediaProbe {
|
pub struct MediaProbe {
|
||||||
pub format: Option<Format>,
|
pub format: Option<Format>,
|
||||||
pub audio_streams: Vec<Stream>,
|
pub audio_streams: Vec<FFStream>,
|
||||||
pub video_streams: Vec<Stream>,
|
pub video_streams: Vec<FFStream>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl MediaProbe {
|
impl MediaProbe {
|
||||||
|
Loading…
Reference in New Issue
Block a user