Skip to content

Commit

Permalink
Remove unused TrimSpan conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
HEJOK254 committed Jun 19, 2024
1 parent 578ee1b commit d08ac57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Commands/Modules/VideoUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public async Task TrimVideoAsync(
}

// Process and send video
await FFMpeg.SubVideoAsync(videoInputPath, videoOutputPath, (TimeSpan)trimStart, (TimeSpan)trimEnd); // Need to convert the TimeSpans since the value is nullable
await FFMpeg.SubVideoAsync(videoInputPath, videoOutputPath, trimStart, trimEnd);
await FollowupWithFileAsync(videoOutputPath, video.Filename, message, ephemeral: ephemeral);

// Clean up
Expand Down

0 comments on commit d08ac57

Please sign in to comment.