From 97e2ea1fc966ec4b0e4cf38e68ec630cba3676ce Mon Sep 17 00:00:00 2001 From: CherryPerry Date: Sat, 11 Jul 2015 23:05:58 +0300 Subject: [PATCH] Title based scale fix --- VpxEncode/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VpxEncode/Program.cs b/VpxEncode/Program.cs index 8d3489e..8e02036 100644 --- a/VpxEncode/Program.cs +++ b/VpxEncode/Program.cs @@ -448,7 +448,7 @@ static void GeneratePreview(string filePath) // same scale string scale = ""; - Regex regex = new Regex(@".*Video:.*(\s\d+x\d+).*"); + Regex regex = new Regex(@".*Video:.*\,\s(\d+x\d+).*"); Match match = regex.Match(new Executer().Execute('"' + filePath + '"')); if (match.Success) {