mirror of
https://github.com/unclshura/splitter.git
synced 2026-06-21 16:12:01 +00:00
11 lines
306 B
C#
11 lines
306 B
C#
namespace Splitter_UI.Services;
|
|
|
|
public sealed class FileProbeService : IFileProbeService
|
|
{
|
|
public async Task<VideoInfo> ProbeAsync(string inputFile, CancellationToken token)
|
|
{
|
|
var res = await Task.Run(() => ProbeVideo.Probe(inputFile, false, token), token);
|
|
return res;
|
|
}
|
|
}
|