Skip to content

Commit

Permalink
fix(streams_item): update subtitles size and offset types
Browse files Browse the repository at this point in the history
  • Loading branch information
tymmesyde committed Nov 18, 2024
1 parent 645d6ec commit 1eb661b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types/streams/streams_item.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ pub struct StreamItemState {
pub subtitle_delay: Option<i64>,
#[serde(default, skip_serializing_if = "Option::is_none")]
/// Subtitles size, platform dependent units
pub subtitle_size: Option<u64>,
pub subtitle_size: Option<f32>,
#[serde(default, skip_serializing_if = "Option::is_none")]
/// Vertical offset of the subtitles, platform dependent units
pub subtitle_offset: Option<u64>,
pub subtitle_offset: Option<f32>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub audio_track: Option<AudioTrack>,
/// In milliseconds
Expand Down

0 comments on commit 1eb661b

Please sign in to comment.