Skip to content

Commit

Permalink
change FPS to float from int
Browse files Browse the repository at this point in the history
  • Loading branch information
tiger5226 authored and lyoshenka committed Aug 5, 2020
1 parent 5be3551 commit 7f1906d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions downloader/ytdl/Video.go
Expand Up @@ -30,7 +30,7 @@ type YtdlVideo struct {
Abr int `json:"abr"`
UploaderURL string `json:"uploader_url"`
Categories []string `json:"categories"`
Fps int `json:"fps"`
Fps float64 `json:"fps"`
StretchedRatio interface{} `json:"stretched_ratio"`
SeasonNumber interface{} `json:"season_number"`
Annotations interface{} `json:"annotations"`
Expand Down Expand Up @@ -83,7 +83,7 @@ type RequestedFormat struct {
Ext string `json:"ext"`
FragmentBaseURL string `json:"fragment_base_url"`
Filesize interface{} `json:"filesize"`
Fps int `json:"fps"`
Fps float64 `json:"fps"`
ManifestURL string `json:"manifest_url"`
Protocol string `json:"protocol"`
FormatID string `json:"format_id"`
Expand Down

0 comments on commit 7f1906d

Please sign in to comment.