summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions
diff options
context:
space:
mode:
authorsr55 <[email protected]>2007-12-01 00:09:00 +0000
committersr55 <[email protected]>2007-12-01 00:09:00 +0000
commiteff4cb31ca2a39852235357cd4a287a1e2eb2085 (patch)
tree4aa27a7cc21169d03a13eab8fe3b9926e6ec2852 /win/C#/Functions
parent35b65e6e13f552193fd910e4778fe38dd4d3406d (diff)
WinGui:
- Added VFR and Loose Anamorphic Check boxes. - Added placeholder widgets for Optimise MP4 and iPod Atom Check boxes git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1091 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions')
-rw-r--r--win/C#/Functions/QueryParser.cs29
1 files changed, 29 insertions, 0 deletions
diff --git a/win/C#/Functions/QueryParser.cs b/win/C#/Functions/QueryParser.cs
index 6c4f4f265..40731273f 100644
--- a/win/C#/Functions/QueryParser.cs
+++ b/win/C#/Functions/QueryParser.cs
@@ -219,6 +219,18 @@ namespace Handbrake.Functions
}
}
+ private Boolean q_vfr;
+ /// <summary>
+ /// Returns a boolean to indicate wither DeTelecine is on or off
+ /// </summary>
+ public Boolean VFR
+ {
+ get
+ {
+ return this.q_vfr;
+ }
+ }
+
private Boolean q_deBlock;
/// <summary>
/// Returns a boolean to indicate wither DeBlock is on or off.
@@ -267,6 +279,18 @@ namespace Handbrake.Functions
}
}
+ private Boolean q_looseAnamorphic;
+ /// <summary>
+ /// Returns a boolean to indicate wither Anamorphic is on or off.
+ /// </summary>
+ public Boolean LooseAnamorphic
+ {
+ get
+ {
+ return this.q_looseAnamorphic;
+ }
+ }
+
private Boolean q_chapterMarkers;
/// <summary>
/// Returns a boolean to indicate wither Chapter Markers is on or off.
@@ -500,6 +524,8 @@ namespace Handbrake.Functions
Match anamorphic = Regex.Match(input, @"-p ");
Match chapterMarkers = Regex.Match(input, @"-m");
Match crop = Regex.Match(input, @"--crop ([0-9]):([0-9]):([0-9]):([0-9])");
+ Match vfr = Regex.Match(input, @"-V");
+ Match lanamorphic = Regex.Match(input, @"-P");
//Video Settings Tab
Match videoFramerate = Regex.Match(input, @"-r ([0-9]*)");
@@ -682,6 +708,9 @@ namespace Handbrake.Functions
}
thisQuery.q_anamorphic = anamorphic.Success;
thisQuery.q_chapterMarkers = chapterMarkers.Success;
+ thisQuery.q_vfr = vfr.Success;
+ thisQuery.q_looseAnamorphic = lanamorphic.Success;
+
#endregion
//