- Trim the contents of the advanced options box. Prevents -x being used with only spaces
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3881
b64f7644-9d1e-0410-96f1-
a4d463321fa5
switch (mainWindow.drp_videoEncoder.SelectedIndex)\r
{\r
case 0: // ffmpeg\r
- advancedOptions = string.IsNullOrEmpty(mainWindow.x264Panel.X264Query)\r
+ advancedOptions = string.IsNullOrEmpty(mainWindow.x264Panel.X264Query.Trim())\r
? string.Empty\r
: mainWindow.x264Panel.X264Query;\r
break;\r
case 1: // x264\r
- advancedOptions = string.IsNullOrEmpty(mainWindow.x264Panel.X264Query)\r
+ advancedOptions = string.IsNullOrEmpty(mainWindow.x264Panel.X264Query.Trim())\r
? string.Empty\r
: mainWindow.x264Panel.X264Query;\r
break;\r