fix: Marked videoCodecs as Option to resolve #38

This commit is contained in:
2025-03-21 11:55:54 -06:00
parent ecd6a0ec32
commit 8c783bc405
8 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -253,7 +253,7 @@ pub struct MediaInfo {
pub video_bit_depth: i64,
#[serde(deserialize_with = "super::from_i64")]
pub video_bitrate: i64,
pub video_codec: String,
pub video_codec: Option<String>,
#[derivative(Default(value = "Number::from(0)"))]
pub video_fps: Number,
pub resolution: String,