tweaked video has stream h265

This commit is contained in:
John Andrews
2022-09-26 18:05:24 +13:00
parent d6942209e5
commit 70e32fbbcf

View File

@@ -117,7 +117,7 @@ public class VideoHasStream : VideoNode
if(rgx.IsMatch(value))
return MatchResult.Matched;
if (value.ToLower() == "hevc" && pattern.ToLower() == "h265")
if (value.ToLower() == "hevc" && (pattern.ToLower() == "h265" || pattern == "265" || pattern.ToLower() == "h.265"))
return MatchResult.Matched; // special case
return MatchResult.NoMatch;