mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 00:24:14 +01:00
Add test again
This commit is contained in:
parent
338274b500
commit
bf06a8059b
1 changed files with 7 additions and 0 deletions
|
@ -235,5 +235,12 @@ public async Task Probe_Success_32BitWavBitDepth_Async()
|
||||||
Assert.IsNotNull(info.PrimaryAudioStream);
|
Assert.IsNotNull(info.PrimaryAudioStream);
|
||||||
Assert.AreEqual(32, info.PrimaryAudioStream.BitDepth);
|
Assert.AreEqual(32, info.PrimaryAudioStream.BitDepth);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[TestMethod]
|
||||||
|
public void Probe_Success_Custom_Arguments()
|
||||||
|
{
|
||||||
|
var info = FFProbe.Analyse(TestResources.Mp4Video, customArguments: "-headers \"Hello: World\"");
|
||||||
|
Assert.AreEqual(3, info.Duration.Seconds);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue