mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2025-12-14 01:55:45 +00:00
Merge pull request #599 from rosenbjerg/Delegate-WithChapter-overload-with-double-argument-to-long-overload-to-reduce-code
Delegate to WithChapter with long argument overload
This commit is contained in:
commit
55d526ce92
1 changed files with 1 additions and 2 deletions
|
|
@ -26,8 +26,7 @@ public class FFMetadataBuilder
|
|||
|
||||
public FFMetadataBuilder WithChapter(string title, double durationSeconds)
|
||||
{
|
||||
Chapters.Add(new FFMetadataChapter(title, Convert.ToInt64(durationSeconds * 1000)));
|
||||
return this;
|
||||
return WithChapter(title, Convert.ToInt64(durationSeconds * 1000));
|
||||
}
|
||||
|
||||
public string GetMetadataFileContent()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue