summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData
diff options
context:
space:
mode:
authorrandomengy <[email protected]>2012-11-12 04:35:55 +0000
committerrandomengy <[email protected]>2012-11-12 04:35:55 +0000
commitcf1f034f914348d0f0bfcd5f8902f0a3fb519273 (patch)
treee2ed9ad176ca3c877252c0038c930a1a83ab07af /win/CS/HandBrake.Interop/HandBrakeInterop/SourceData
parent271400970da9fa01bec9132e7357fb0d013b33b5 (diff)
Interop: Exposing raw FPS numerator/denominator on Title. Exposing IsH264LevelValid function. Adding additional subtitle types. Fixing Anamorphic size calculation. Adding H.264 level to encode options.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5057 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.Interop/HandBrakeInterop/SourceData')
-rw-r--r--win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/SubtitleSource.cs3
-rw-r--r--win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/Title.cs18
2 files changed, 16 insertions, 5 deletions
diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/SubtitleSource.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/SubtitleSource.cs
index 9b04e1652..f0a0b0a38 100644
--- a/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/SubtitleSource.cs
+++ b/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/SubtitleSource.cs
@@ -17,6 +17,7 @@ namespace HandBrake.Interop.SourceData
CC708,
UTF8,
TX3G,
- SSA
+ SSA,
+ PGS
}
}
diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/Title.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/Title.cs
index 4a668d367..06b1acdef 100644
--- a/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/Title.cs
+++ b/win/CS/HandBrake.Interop/HandBrakeInterop/SourceData/Title.cs
@@ -9,12 +9,12 @@
namespace HandBrake.Interop.SourceData
{
- using System;
- using System.Collections.Generic;
+ using System;
+ using System.Collections.Generic;
- using HandBrake.Interop.Model;
+ using HandBrake.Interop.Model;
- /// <summary>
+ /// <summary>
/// An object that represents a single Title of a DVD
/// </summary>
public class Title
@@ -108,6 +108,16 @@ namespace HandBrake.Interop.SourceData
public double Framerate { get; set; }
/// <summary>
+ /// Gets or sets the video frame rate numerator.
+ /// </summary>
+ public int FramerateNumerator { get; set; }
+
+ /// <summary>
+ /// Gets or sets the video frame rate denominator.
+ /// </summary>
+ public int FramerateDenominator { get; set; }
+
+ /// <summary>
/// Gets the total number of frames in this title.
/// </summary>
public int Frames