From ce12f753c069bdbd3e9ae1f5ac1d3899201955c0 Mon Sep 17 00:00:00 2001 From: hey-red Date: Sat, 23 Jan 2021 05:40:03 +0300 Subject: [PATCH] Fix incorrect condition Former-commit-id: d16efbda313187704fe32b9ccec6775d46ab90b3 --- FFMpegCore/FFMpeg/Enums/ContainerFormat.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/FFMpegCore/FFMpeg/Enums/ContainerFormat.cs b/FFMpegCore/FFMpeg/Enums/ContainerFormat.cs index 37c2bda..90da0d2 100644 --- a/FFMpegCore/FFMpeg/Enums/ContainerFormat.cs +++ b/FFMpegCore/FFMpeg/Enums/ContainerFormat.cs @@ -10,6 +10,7 @@ public class ContainerFormat public bool DemuxingSupported { get; private set; } public bool MuxingSupported { get; private set; } public string Description { get; private set; } = null!; + public string Extension { get @@ -36,11 +37,11 @@ internal static bool TryParse(string line, out ContainerFormat fmt) fmt = new ContainerFormat(match.Groups[3].Value) { - DemuxingSupported = match.Groups[1].Value == " ", - MuxingSupported = match.Groups[2].Value == " ", + DemuxingSupported = match.Groups[1].Value != " ", + MuxingSupported = match.Groups[2].Value != " ", Description = match.Groups[4].Value }; return true; } } -} +} \ No newline at end of file