From c4c02d6d215282a1a380bb2babffe7d68e70e84f Mon Sep 17 00:00:00 2001 From: Malte Rosenbjerg Date: Mon, 20 Jul 2020 15:26:20 +0200 Subject: [PATCH] Write output messages to debug --- FFMpegCore/FFMpeg/FFMpegArgumentProcessor.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/FFMpegCore/FFMpeg/FFMpegArgumentProcessor.cs b/FFMpegCore/FFMpeg/FFMpegArgumentProcessor.cs index cfb1544..cef0d95 100644 --- a/FFMpegCore/FFMpeg/FFMpegArgumentProcessor.cs +++ b/FFMpegCore/FFMpeg/FFMpegArgumentProcessor.cs @@ -154,6 +154,7 @@ private static bool HandleException(bool throwOnError, Exception e, IReadOnlyLis private void OutputData(object sender, (DataType Type, string Data) msg) { var match = ProgressRegex.Match(msg.Data); + Debug.WriteLine(msg.Data); if (!match.Success) return; var processed = TimeSpan.Parse(match.Groups[1].Value, CultureInfo.InvariantCulture);