Fix bool
This commit is contained in:
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…
Reference in New Issue
Block a user