mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2025-12-14 10:05:44 +00:00
Delegate to WithChapter with long argument overload
This commit is contained in:
parent
3b1a1438bb
commit
df03c58081
1 changed files with 1 additions and 2 deletions
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue