Use int64 for sample-related FFProbeStream fields (#4361)

This commit is contained in:
DingDongSoLong4 2023-12-14 04:31:58 +02:00 committed by GitHub
parent 2ef2d89b06
commit 26c3873122
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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"`
@ -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"`