diff options
Diffstat (limited to 'win/CS/Functions/QueryGenerator.cs')
-rw-r--r-- | win/CS/Functions/QueryGenerator.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/CS/Functions/QueryGenerator.cs b/win/CS/Functions/QueryGenerator.cs index 97499962b..ce9f6f00b 100644 --- a/win/CS/Functions/QueryGenerator.cs +++ b/win/CS/Functions/QueryGenerator.cs @@ -545,12 +545,12 @@ namespace Handbrake.Functions switch (mainWindow.drp_videoEncoder.SelectedIndex)
{
case 0: // ffmpeg
- advancedOptions = string.IsNullOrEmpty(mainWindow.x264Panel.X264Query)
+ advancedOptions = string.IsNullOrEmpty(mainWindow.x264Panel.X264Query.Trim())
? string.Empty
: mainWindow.x264Panel.X264Query;
break;
case 1: // x264
- advancedOptions = string.IsNullOrEmpty(mainWindow.x264Panel.X264Query)
+ advancedOptions = string.IsNullOrEmpty(mainWindow.x264Panel.X264Query.Trim())
? string.Empty
: mainWindow.x264Panel.X264Query;
break;
|