diff --git a/FFMpegCore/FFMPEG/FFMpeg.cs b/FFMpegCore/FFMPEG/FFMpeg.cs
index 3f6350a..f6b3111 100644
--- a/FFMpegCore/FFMPEG/FFMpeg.cs
+++ b/FFMpegCore/FFMPEG/FFMpeg.cs
@@ -203,13 +203,13 @@ public VideoInfo Convert(
break;
}
- _totalTime = TimeSpan.MinValue;
-
if (!RunProcess(container, output))
{
throw new FFMpegException(FFMpegExceptionType.Conversion, $"The video could not be converted to {Enum.GetName(typeof(VideoType), type)}");
}
+ _totalTime = TimeSpan.MinValue;
+
return new VideoInfo(output);
}
diff --git a/FFMpegCore/FFMpegCore.csproj b/FFMpegCore/FFMpegCore.csproj
index 29a639c..ac1c985 100644
--- a/FFMpegCore/FFMpegCore.csproj
+++ b/FFMpegCore/FFMpegCore.csproj
@@ -7,9 +7,9 @@
https://github.com/vladjerca/FFMpegCore
Vlad Jerca
A great way to use FFMpeg encoding when writing video applications, client-side and server-side. It has wrapper methods that allow conversion to all web formats: MP4, OGV, TS and methods of capturing screens from the videos.
- 1.0.1
- 1.0.1.0
- 1.0.1.0
+ 1.0.2
+ 1.0.2.0
+ 1.0.2.0