mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2025-01-18 04:26:44 +00:00
Merge pull request #527 from alahane-techtel/main
>24hr Duration handling added in FFMpegArgumentProcessor
This commit is contained in:
commit
a4b9a885d3
1 changed files with 1 additions and 2 deletions
|
@ -1,5 +1,4 @@
|
|||
using System.Diagnostics;
|
||||
using System.Globalization;
|
||||
using System.Text.RegularExpressions;
|
||||
using FFMpegCore.Enums;
|
||||
using FFMpegCore.Exceptions;
|
||||
|
@ -263,7 +262,7 @@ private void ErrorData(object sender, string msg)
|
|||
return;
|
||||
}
|
||||
|
||||
var processed = TimeSpan.Parse(match.Groups[1].Value, CultureInfo.InvariantCulture);
|
||||
var processed = MediaAnalysisUtils.ParseDuration(match.Groups[1].Value);
|
||||
_onTimeProgress?.Invoke(processed);
|
||||
|
||||
if (_onPercentageProgress == null || _totalTimespan == null)
|
||||
|
|
Loading…
Reference in a new issue