diff --git a/src/types/streams/streams_item.rs b/src/types/streams/streams_item.rs index b54526f6d..8853987f6 100644 --- a/src/types/streams/streams_item.rs +++ b/src/types/streams/streams_item.rs @@ -32,7 +32,7 @@ pub struct StreamItemState { /// In milliseconds #[serde(skip_serializing_if = "Option::is_none")] pub subtitle_delay: Option, - #[serde(skip_serializing_if = "Option::is_none")] + #[serde(default, skip_serializing_if = "Option::is_none")] pub subtitle_size: Option, #[serde(skip_serializing_if = "Option::is_none")] pub subtitle_offset: Option,