From 83ac0777d89a736d4a39fdf7c1240dddb5d79820 Mon Sep 17 00:00:00 2001 From: akarin Date: Sat, 25 Dec 2021 16:05:17 +0900 Subject: [PATCH] OKEGui/OKEGui/JobProcessor/Video/x265Encoder.cs: log all unrecognized stderr outputs as Debug Signed-off-by: akarin --- OKEGui/OKEGui/JobProcessor/Video/x265Encoder.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OKEGui/OKEGui/JobProcessor/Video/x265Encoder.cs b/OKEGui/OKEGui/JobProcessor/Video/x265Encoder.cs index aef9e627..fe82bce9 100644 --- a/OKEGui/OKEGui/JobProcessor/Video/x265Encoder.cs +++ b/OKEGui/OKEGui/JobProcessor/Video/x265Encoder.cs @@ -55,6 +55,7 @@ public override void ProcessLine(string line, StreamType stream) if (line.ToLowerInvariant().Contains("encoded")) { + Logger.Debug(line); Regex rf = new Regex("encoded ([0-9]+) frames in ([0-9]+.[0-9]+)s \\(([0-9]+.[0-9]+) fps\\), ([0-9]+.[0-9]+) kb/s, Avg QP:(([0-9]+.[0-9]+))"); var result = rf.Split(line); @@ -87,6 +88,7 @@ public override void ProcessLine(string line, StreamType stream) } else { + Logger.Debug(line); return; }