Skip to content

Commit 26c3873

Browse files
Use int64 for sample-related FFProbeStream fields (#4361)
1 parent 2ef2d89 commit 26c3873

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/ffmpeg/types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ type FFProbeStream struct {
6464
VisualImpaired int `json:"visual_impaired"`
6565
} `json:"disposition"`
6666
Duration string `json:"duration"`
67-
DurationTs int `json:"duration_ts"`
67+
DurationTs int64 `json:"duration_ts"`
6868
HasBFrames int `json:"has_b_frames,omitempty"`
6969
Height int `json:"height,omitempty"`
7070
Index int `json:"index"`
@@ -78,7 +78,7 @@ type FFProbeStream struct {
7878
RFrameRate string `json:"r_frame_rate"`
7979
Refs int `json:"refs,omitempty"`
8080
SampleAspectRatio string `json:"sample_aspect_ratio,omitempty"`
81-
StartPts int `json:"start_pts"`
81+
StartPts int64 `json:"start_pts"`
8282
StartTime string `json:"start_time"`
8383
Tags struct {
8484
CreationTime json.JSONTime `json:"creation_time"`

0 commit comments

Comments
 (0)