mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2025-01-18 20:46:43 +00: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)
|
||||
{
|
||||
var index = context.ToString().CountOccurrences("-i");
|
||||
var index = context?.ToString().CountOccurrences("-i") ?? 0;
|
||||
|
||||
return $"-i \"{_tempFileName}\" -map_metadata {index}";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue