mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
Use long option for stream index for better clarity
Former-commit-id: 14d457b946
This commit is contained in:
parent
75386b6dac
commit
8633937f52
2 changed files with 2 additions and 2 deletions
|
@ -334,7 +334,7 @@ public void Builder_BuildString_SubtitleHardBurnFilter()
|
||||||
.WithParameter("PrimaryColour", "&HAA00FF00")))))
|
.WithParameter("PrimaryColour", "&HAA00FF00")))))
|
||||||
.Arguments;
|
.Arguments;
|
||||||
|
|
||||||
Assert.AreEqual("-i \"input.mp4\" -vf \"subtitles=sample.srt:charenc=UTF-8:original_size=1366x768:si=0:force_style='FontName=DejaVu Serif\\,PrimaryColour=&HAA00FF00'\" \"output.mp4\"",
|
Assert.AreEqual("-i \"input.mp4\" -vf \"subtitles=sample.srt:charenc=UTF-8:original_size=1366x768:stream_index=0:force_style='FontName=DejaVu Serif\\,PrimaryColour=&HAA00FF00'\" \"output.mp4\"",
|
||||||
str);
|
str);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -74,7 +74,7 @@ public SubtitleHardBurnOptions SetOriginalSize(Size size)
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
public SubtitleHardBurnOptions SetSubtitleIndex(int index)
|
public SubtitleHardBurnOptions SetSubtitleIndex(int index)
|
||||||
{
|
{
|
||||||
return WithParameter("si", index.ToString());
|
return WithParameter("stream_index", index.ToString());
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in a new issue