From fe415d1bdd7af43baa4632acac232b5597c07b97 Mon Sep 17 00:00:00 2001 From: sr55 Date: Fri, 8 Apr 2011 20:54:57 +0000 Subject: WinGui: - Fixed ffmpeg advanced options panel CLI query generation. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3914 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/Functions/QueryGenerator.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'win/CS/Functions/QueryGenerator.cs') diff --git a/win/CS/Functions/QueryGenerator.cs b/win/CS/Functions/QueryGenerator.cs index e3f2e792c..ecc9e2e77 100644 --- a/win/CS/Functions/QueryGenerator.cs +++ b/win/CS/Functions/QueryGenerator.cs @@ -456,9 +456,9 @@ namespace Handbrake.Functions switch (mainWindow.drp_videoEncoder.SelectedIndex) { case 0: // ffmpeg - advancedOptions = string.IsNullOrEmpty(mainWindow.x264Panel.X264Query.Trim()) + advancedOptions = string.IsNullOrEmpty(mainWindow.advancedEncoderOpts.AdavancedQuery.Trim()) ? string.Empty - : mainWindow.x264Panel.X264Query; + : mainWindow.advancedEncoderOpts.AdavancedQuery; break; case 1: // x264 advancedOptions = string.IsNullOrEmpty(mainWindow.x264Panel.X264Query.Trim()) -- cgit v1.2.3