fix: Marked videoCodecs as Option to resolve #38

This commit is contained in:
Dark-Alex-17 committed 2025-03-21 11:55:54 -06:00
1 parent ecd6a0ec32
commit 8c783bc405
8 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -249,7 +249,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,
+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,