summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--win/CS/HandBrake.ApplicationServices/Utilities/PlistUtility.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/PlistUtility.cs b/win/CS/HandBrake.ApplicationServices/Utilities/PlistUtility.cs
index 622aad4f4..91d4d5357 100644
--- a/win/CS/HandBrake.ApplicationServices/Utilities/PlistUtility.cs
+++ b/win/CS/HandBrake.ApplicationServices/Utilities/PlistUtility.cs
@@ -277,7 +277,10 @@ namespace HandBrake.ApplicationServices.Utilities
parsed.Grayscale = value == "1";
break;
case "VideoQualitySlider":
- parsed.Quality = double.Parse(value);
+ if (!string.IsNullOrEmpty(value))
+ {
+ parsed.Quality = double.Parse(value);
+ }
break;
case "VideoQualityType": // The Type of Quality Mode used
qualityMode = value;