Merge branch 'master' into add-pcm-wrapper

Former-commit-id: e56521b2bb
This commit is contained in:
Malte Rosenbjerg 2021-05-15 11:17:46 +02:00 committed by GitHub
commit 2bdfcdcb7a
5 changed files with 3 additions and 11 deletions

View file

@ -1,5 +1,4 @@
using System;
using FFMpegCore.Enums;
using FFMpegCore.Test.Resources;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.IO;

View file

@ -1,8 +1,4 @@
using System;
using System.IO;
using FFMpegCore.Enums;
namespace FFMpegCore.Test.Resources
namespace FFMpegCore.Test.Resources
{
public enum AudioType
{

View file

@ -1,7 +1,5 @@
using FFMpegCore.Enums;
using System;
using System.Collections.Generic;
using System.Text;
namespace FFMpegCore.Arguments
{

View file

@ -1,5 +1,4 @@
using System.Drawing;
using FFMpegCore.Enums;
namespace FFMpegCore.Arguments
{

View file

@ -9,11 +9,11 @@ namespace FFMpegCore.Pipes
/// </summary>
public class StreamPipeSource : IPipeSource
{
public System.IO.Stream Source { get; }
public Stream Source { get; }
public int BlockSize { get; } = 4096;
public string StreamFormat { get; } = string.Empty;
public StreamPipeSource(System.IO.Stream source)
public StreamPipeSource(Stream source)
{
Source = source;
}