mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2025-12-16 11:05:44 +00:00
Compare commits
4 commits
52266b5526
...
ff54efd1d0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ff54efd1d0 | ||
|
|
ee48cc1911 | ||
|
|
c9e0cde17a | ||
|
|
ef2b4be7c4 |
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue