Compare commits

...

5 commits

Author SHA1 Message Date
Matthias Reitinger
52266b5526
Merge ed08087cd6 into 37973c3daf 2025-04-18 13:59:37 +02:00
Matthias Reitinger
ed08087cd6
Merge branch 'main' into feature/longer-pipe-name 2025-04-18 13:59:35 +02:00
Malte Rosenbjerg
ee48cc1911
Merge branch 'main' into feature/longer-pipe-name 2024-12-04 23:09:15 +01:00
Matthias Reitinger
c9e0cde17a Fix typo 2023-11-30 17:23:47 +01:00
Matthias Reitinger
ef2b4be7c4 Increase length of pipe name to make collisions less likely 2023-11-30 17:23:25 +01:00
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -4,7 +4,7 @@ namespace FFMpegCore.Pipes
{
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)
{