mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2025-12-14 18:15:44 +00:00
parent
dd2bfac840
commit
da759449c2
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ namespace FFMpegCore.Arguments
|
||||||
|
|
||||||
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…
Add table
Reference in a new issue