pull/6600/head
cvium 3 years ago
parent b9d4cbf3e8
commit 7ba9a24736

@ -26,7 +26,7 @@ public class MatroskaKeyframeExtractor : IKeyframeExtractor
/// <inheritdoc />
public bool TryExtractKeyframes(string filePath, [NotNullWhen(true)] out KeyframeData? keyframeData)
{
if (filePath.AsSpan().EndsWith(".mkv", StringComparison.OrdinalIgnoreCase))
if (!filePath.AsSpan().EndsWith(".mkv", StringComparison.OrdinalIgnoreCase))
{
keyframeData = null;
return false;

Loading…
Cancel
Save