mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-14 02:04:14 +01:00
Write output messages to debug
This commit is contained in:
parent
06d5d199f8
commit
c4c02d6d21
1 changed files with 1 additions and 0 deletions
|
@ -154,6 +154,7 @@ private static bool HandleException(bool throwOnError, Exception e, IReadOnlyLis
|
||||||
private void OutputData(object sender, (DataType Type, string Data) msg)
|
private void OutputData(object sender, (DataType Type, string Data) msg)
|
||||||
{
|
{
|
||||||
var match = ProgressRegex.Match(msg.Data);
|
var match = ProgressRegex.Match(msg.Data);
|
||||||
|
Debug.WriteLine(msg.Data);
|
||||||
if (!match.Success) return;
|
if (!match.Success) return;
|
||||||
|
|
||||||
var processed = TimeSpan.Parse(match.Groups[1].Value, CultureInfo.InvariantCulture);
|
var processed = TimeSpan.Parse(match.Groups[1].Value, CultureInfo.InvariantCulture);
|
||||||
|
|
Loading…
Reference in a new issue