fix: accept video streams without content length/average bitrate
This commit is contained in:
parent
b52fd7349b
commit
63d2a0fb36
6 changed files with 42 additions and 50 deletions
|
|
@ -59,7 +59,7 @@ pub struct VideoStream {
|
|||
pub itag: u32,
|
||||
pub bitrate: u32,
|
||||
pub average_bitrate: u32,
|
||||
pub size: u64,
|
||||
pub size: Option<u64>,
|
||||
pub index_range: Option<Range<u32>>,
|
||||
pub init_range: Option<Range<u32>>,
|
||||
pub width: u32,
|
||||
|
|
|
|||
Reference in a new issue