summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeUtils.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeUtils.cs')
-rw-r--r--win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeUtils.cs13
1 files changed, 2 insertions, 11 deletions
diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeUtils.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeUtils.cs
index 4a99043ef..62d2b09c4 100644
--- a/win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeUtils.cs
+++ b/win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeUtils.cs
@@ -119,21 +119,12 @@ namespace HandBrake.Interop
{
if (!string.IsNullOrEmpty(message))
{
- string[] messageParts = message.Split(new string[] { "\n" }, StringSplitOptions.RemoveEmptyEntries);
+ string[] messageParts = message.Split(new[] { "\n" }, StringSplitOptions.RemoveEmptyEntries);
if (messageParts.Length > 0)
{
message = messageParts[0];
-
- // When MP4 muxing fails (for example when the file is too big without Large File Size)
- // a message is logged but it isn't marked as an error.
- if (message.StartsWith("MP4ERROR", StringComparison.Ordinal))
- {
- SendErrorEvent(message);
- return;
- }
-
- SendMessageEvent(message);
+ SendMessageEvent(message);
}
}
}