mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
parent
dd2bfac840
commit
da759449c2
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ public MetaDataArgument(string metaDataContent)
|
||||||
|
|
||||||
public string GetText(StringBuilder context)
|
public string GetText(StringBuilder context)
|
||||||
{
|
{
|
||||||
var index = context.ToString().CountOccurrences("-i");
|
var index = context?.ToString().CountOccurrences("-i") ?? 0;
|
||||||
|
|
||||||
return $"-i \"{_tempFileName}\" -map_metadata {index}";
|
return $"-i \"{_tempFileName}\" -map_metadata {index}";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue