Skip to content

Commit

Permalink
Use int64 for sample-related FFProbeStream fields (stashapp#4361)
Browse files Browse the repository at this point in the history
  • Loading branch information
DingDongSoLong4 authored and halkeye committed Sep 1, 2024
1 parent f1e6132 commit b9b0f99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/ffmpeg/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ type FFProbeStream struct {
VisualImpaired int `json:"visual_impaired"`
} `json:"disposition"`
Duration string `json:"duration"`
DurationTs int `json:"duration_ts"`
DurationTs int64 `json:"duration_ts"`
HasBFrames int `json:"has_b_frames,omitempty"`
Height int `json:"height,omitempty"`
Index int `json:"index"`
Expand All @@ -78,7 +78,7 @@ type FFProbeStream struct {
RFrameRate string `json:"r_frame_rate"`
Refs int `json:"refs,omitempty"`
SampleAspectRatio string `json:"sample_aspect_ratio,omitempty"`
StartPts int `json:"start_pts"`
StartPts int64 `json:"start_pts"`
StartTime string `json:"start_time"`
Tags struct {
CreationTime json.JSONTime `json:"creation_time"`
Expand Down

0 comments on commit b9b0f99

Please sign in to comment.