summaryrefslogtreecommitdiffstats
path: root/win/C#/Parsing/Title.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-01-09 22:22:13 +0000
committersr55 <[email protected]>2010-01-09 22:22:13 +0000
commit33b1c3f11e430dc483a8d3f2af5efb2b3f93d989 (patch)
treefbb71df1f866fe9ecdba5de532cf386388e2484e /win/C#/Parsing/Title.cs
parentd59750cc3884e5b9f22643c00f70a564604d9894 (diff)
WinGui:
- Enabled the Frame to Frame encode mode. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3061 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Parsing/Title.cs')
-rw-r--r--win/C#/Parsing/Title.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/win/C#/Parsing/Title.cs b/win/C#/Parsing/Title.cs
index f81819d43..b588e6433 100644
--- a/win/C#/Parsing/Title.cs
+++ b/win/C#/Parsing/Title.cs
@@ -24,6 +24,7 @@ namespace Handbrake.Parsing
private readonly List<Subtitle> m_subtitles;
private List<String> m_angles = new List<string>();
private float m_aspectRatio;
+ private float m_fps;
private int[] m_autoCrop;
private string source;
private TimeSpan m_duration;
@@ -130,6 +131,14 @@ namespace Handbrake.Parsing
{
get { return m_angles; }
}
+
+ /// <summary>
+ /// Collection of Angles in this Title
+ /// </summary>
+ public float Fps
+ {
+ get { return m_fps; }
+ }
/// <summary>
/// Override of the ToString method to provide an easy way to use this object in the UI
@@ -186,6 +195,7 @@ namespace Handbrake.Parsing
thisTitle.m_resolution = new Size(int.Parse(m.Groups[1].Value), int.Parse(m.Groups[2].Value));
thisTitle.m_parVal = new Size(int.Parse(m.Groups[3].Value), int.Parse(m.Groups[4].Value));
thisTitle.m_aspectRatio = float.Parse(m.Groups[5].Value, Culture);
+ thisTitle.m_fps = float.Parse(m.Groups[6].Value, Culture);
}
// Get autocrop region for this title