Delegate to WithChapter with long argument overload

This commit is contained in:
Malte Rosenbjerg 2025-10-27 20:45:17 +01:00
parent 3b1a1438bb
commit df03c58081

View file

@ -26,8 +26,7 @@ public class FFMetadataBuilder
public FFMetadataBuilder WithChapter(string title, double durationSeconds) public FFMetadataBuilder WithChapter(string title, double durationSeconds)
{ {
Chapters.Add(new FFMetadataChapter(title, Convert.ToInt64(durationSeconds * 1000))); return WithChapter(title, Convert.ToInt64(durationSeconds * 1000));
return this;
} }
public string GetMetadataFileContent() public string GetMetadataFileContent()