This commit is contained in:
Matthias Reitinger 2025-04-18 13:59:37 +02:00 committed by GitHub
commit 52266b5526
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ namespace FFMpegCore.Arguments
protected PipeArgument(PipeDirection direction) protected PipeArgument(PipeDirection direction)
{ {
PipeName = PipeHelpers.GetUnqiuePipeName(); PipeName = PipeHelpers.GetUniquePipeName();
_direction = direction; _direction = direction;
} }

View file

@ -4,7 +4,7 @@ namespace FFMpegCore.Pipes
{ {
internal static class PipeHelpers internal static class PipeHelpers
{ {
public static string GetUnqiuePipeName() => $"FFMpegCore_{Guid.NewGuid().ToString("N").Substring(0, 5)}"; public static string GetUniquePipeName() => $"FFMpegCore_{Guid.NewGuid().ToString("N").Substring(16, 16)}";
public static string GetPipePath(string pipeName) public static string GetPipePath(string pipeName)
{ {