From 85dd8dadeec1db78d189bf95efee0e797888e217 Mon Sep 17 00:00:00 2001 From: Tim Date: Tue, 12 Nov 2024 12:53:44 +0100 Subject: [PATCH] feat(streams): add subtitles size and offset for StreamItemState --- src/types/streams/streams_item.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/types/streams/streams_item.rs b/src/types/streams/streams_item.rs index 97877e40b..b54526f6d 100644 --- a/src/types/streams/streams_item.rs +++ b/src/types/streams/streams_item.rs @@ -33,6 +33,10 @@ pub struct StreamItemState { #[serde(skip_serializing_if = "Option::is_none")] pub subtitle_delay: Option, #[serde(skip_serializing_if = "Option::is_none")] + pub subtitle_size: Option, + #[serde(skip_serializing_if = "Option::is_none")] + pub subtitle_offset: Option, + #[serde(skip_serializing_if = "Option::is_none")] pub audio_track: Option, /// In milliseconds #[serde(skip_serializing_if = "Option::is_none")]