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

Commit

Permalink
Update Video.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
winscripter authored Apr 19, 2024
1 parent 38d0bbe commit d430c17
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dotnetVEE/Video.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,7 @@ public static Video Create(string videoPath)
/// </remarks>
/// <param name="timestamp">The timestamp where the frame index should be returned.</param>
/// <returns>Frame index of this video based on the timestamp.</returns>
public double GetFrameIndexAtTimestamp(TimeSpan timestamp)
=> timestamp.TotalSeconds * FPS;
public double GetFrameIndexAtTimestamp(TimeSpan timestamp) => timestamp.TotalSeconds * FPS;

/// <summary>
/// Loops through all frames within the given timestamps,
Expand Down

0 comments on commit d430c17

Please sign in to comment.