diff options
-rw-r--r-- | win/C#/Controls/PictureSettings.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/win/C#/Controls/PictureSettings.cs b/win/C#/Controls/PictureSettings.cs index 88f0e8f41..6cfe18c7b 100644 --- a/win/C#/Controls/PictureSettings.cs +++ b/win/C#/Controls/PictureSettings.cs @@ -520,6 +520,9 @@ namespace Handbrake.Controls if (selectedTitle.Resolution.Width < returnVal)
returnVal = selectedTitle.Resolution.Width;
+ if (returnVal < 64)
+ returnVal = 64;
+
// Set the global tracker
widthVal = (int)returnVal;
@@ -535,8 +538,11 @@ namespace Handbrake.Controls if (selectedTitle.Resolution.Height < returnVal)
returnVal = selectedTitle.Resolution.Height;
+ if (returnVal < 64)
+ returnVal = 64;
+
// Set the global tracker
- heightVal = (int)returnVal; // TODO THIS IS CAUSING PROBLEM
+ heightVal = (int)returnVal;
return returnVal;
}
|