mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
Fix incorrect condition
This commit is contained in:
parent
cfee86199b
commit
d16efbda31
1 changed files with 4 additions and 3 deletions
|
@ -10,6 +10,7 @@ public class ContainerFormat
|
||||||
public bool DemuxingSupported { get; private set; }
|
public bool DemuxingSupported { get; private set; }
|
||||||
public bool MuxingSupported { get; private set; }
|
public bool MuxingSupported { get; private set; }
|
||||||
public string Description { get; private set; } = null!;
|
public string Description { get; private set; } = null!;
|
||||||
|
|
||||||
public string Extension
|
public string Extension
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
@ -36,11 +37,11 @@ internal static bool TryParse(string line, out ContainerFormat fmt)
|
||||||
|
|
||||||
fmt = new ContainerFormat(match.Groups[3].Value)
|
fmt = new ContainerFormat(match.Groups[3].Value)
|
||||||
{
|
{
|
||||||
DemuxingSupported = match.Groups[1].Value == " ",
|
DemuxingSupported = match.Groups[1].Value != " ",
|
||||||
MuxingSupported = match.Groups[2].Value == " ",
|
MuxingSupported = match.Groups[2].Value != " ",
|
||||||
Description = match.Groups[4].Value
|
Description = match.Groups[4].Value
|
||||||
};
|
};
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue