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
@@ -1300,7 +1300,7 @@ impl Network<'_, '_> {
Runtime: {}",
media_info.video_bit_depth,
media_info.video_bitrate,
media_info.video_codec,
media_info.video_codec.unwrap_or_default(),
media_info.video_fps.as_f64().unwrap(),
media_info.resolution,
media_info.scan_type,
+1 -1
View File
@@ -4008,7 +4008,7 @@ mod test {
audio_stream_count: 1,
video_bit_depth: 10,
video_bitrate: 0,
video_codec: "x265".to_owned(),
video_codec: Some("x265".to_owned()),
video_fps: Number::from_f64(23.976).unwrap(),
resolution: "1920x804".to_owned(),
run_time: "2:00:00".to_owned(),
+1 -1
View File
@@ -1408,7 +1408,7 @@ impl Network<'_, '_> {
Subtitles: {}",
media_info.video_bit_depth,
media_info.video_bitrate,
media_info.video_codec,
media_info.video_codec.unwrap_or_default(),
media_info.video_fps.as_f64().unwrap(),
media_info.resolution,
media_info.scan_type,
+1 -1
View File
@@ -5670,7 +5670,7 @@ mod test {
audio_stream_count: 1,
video_bit_depth: 10,
video_bitrate: 0,
video_codec: "x265".to_owned(),
video_codec: Some("x265".to_owned()),
video_fps: Number::from_f64(23.976).unwrap(),
resolution: "1920x1080".to_owned(),
run_time: "23:51".to_owned(),