diff options
author | sr55 <[email protected]> | 2014-11-27 20:32:56 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2014-11-27 20:32:56 +0000 |
commit | b8238f76de25707da2d9e480d265c94d3d7d1ada (patch) | |
tree | 107e673ad844ee1f8e17f0051ce2d497cab59c59 /win/CS/HandBrake.Interop/HandBrakeInterop | |
parent | af863ce977955be294b337c59adf1b676a345b5a (diff) |
WinGui: Remove the option to enable the static preview window. Window is now always available.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6560 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.Interop/HandBrakeInterop')
-rw-r--r-- | win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeInstance.cs | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeInstance.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeInstance.cs index 6c4e26ede..1bc9445f3 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeInstance.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeInstance.cs @@ -829,13 +829,13 @@ namespace HandBrake.Interop IntPtr titleSetPtr = HBFunctions.hb_get_title_set(this.hbHandle);
hb_title_set_s titleSet = InteropUtilities.ToStructureFromPtr<hb_title_set_s>(titleSetPtr);
this.originalTitles = titleSet.list_title.ToListFromHandBrakeList<hb_title_s>();
- - foreach (hb_title_s title in this.originalTitles) - { - this.titles.Add(this.ConvertTitle(title)); - } - - if (this.originalTitles.Count > 0) +
+ foreach (hb_title_s title in this.originalTitles)
+ {
+ this.titles.Add(this.ConvertTitle(title));
+ }
+
+ if (this.originalTitles.Count > 0)
{
this.featureTitle = titleSet.feature;
}
@@ -1874,13 +1874,13 @@ namespace HandBrake.Interop AspectRatio = title.aspect,
AngleCount = title.angle_count,
VideoCodecName = title.video_codec_name,
- Framerate = ((double)title.rate) / title.rate_base, - FramerateNumerator = title.rate, - FramerateDenominator = title.rate_base, - Path = Encoding.UTF8.GetString(title.path).TrimEnd('\0') - }; - - switch (title.type) + Framerate = ((double)title.rate) / title.rate_base,
+ FramerateNumerator = title.rate,
+ FramerateDenominator = title.rate_base,
+ Path = Encoding.UTF8.GetString(title.path).TrimEnd('\0')
+ };
+
+ switch (title.type)
{
case hb_title_type_anon.HB_STREAM_TYPE:
newTitle.InputType = InputType.Stream;
|