优化帧率匹配

This commit is contained in:
nilaoda 2022-09-17 01:28:58 +08:00
parent 0992359ed6
commit aee8356660
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ namespace N_m3u8DL_RE.Util
private static partial Regex ResRegex(); private static partial Regex ResRegex();
[GeneratedRegex("\\d+ kb\\/s")] [GeneratedRegex("\\d+ kb\\/s")]
private static partial Regex BitrateRegex(); private static partial Regex BitrateRegex();
[GeneratedRegex("\\d+ fps")] [GeneratedRegex("(\\d+(\\.\\d+)?) fps")]
private static partial Regex FpsRegex(); private static partial Regex FpsRegex();
public static async Task<List<Mediainfo>> ReadInfoAsync(string binary, string file) public static async Task<List<Mediainfo>> ReadInfoAsync(string binary, string file)