Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Commit

Permalink
Changed NumberOfFrames from int to double
Browse files Browse the repository at this point in the history
Fix for #7
  • Loading branch information
Xathz committed Mar 22, 2018
1 parent ba07ba0 commit 8df5e99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Gfycat.Net/API/Models/Gfy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ internal class Gfy
[JsonProperty("frameRate")]
internal double FrameRate { get; set; }
[JsonProperty("numFrames")]
internal int NumberOfFrames { get; set; }
internal double NumberOfFrames { get; set; }
[JsonProperty("mp4Size")]
internal int Mp4Size { get; set; }
[JsonProperty("webmSize")]
Expand Down
2 changes: 1 addition & 1 deletion src/Gfycat.Net/Gfy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ internal static Gfy Create(GfycatClient client, Model model)
/// <summary>
/// Gets the number of frames for this gfy
/// </summary>
public int NumberOfFrames { get; private set; }
public double NumberOfFrames { get; private set; }
/// <summary>
/// Gets the size of the mp4 version of this gfy in megabytes
/// </summary>
Expand Down

0 comments on commit 8df5e99

Please sign in to comment.