// -------------------------------------------------------------------------------------------------------------------- // // This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. // // // The source framerate info. // // -------------------------------------------------------------------------------------------------------------------- namespace HandBrake.ApplicationServices.Interop.Model { /// /// The source framerate info. /// public class SourceVideoInfo { /// /// Initializes a new instance of the class. /// /// /// The framerate numerator. /// /// /// The framerate denominator. /// /// /// The resolution. /// /// /// The par val. /// public SourceVideoInfo(int framerateNumerator, int framerateDenominator, Size resolution, Size parVal) { this.FramerateNumerator = framerateNumerator; this.FramerateDenominator = framerateDenominator; this.Resolution = resolution; this.ParVal = parVal; } /// /// Gets the framerate numerator. /// public int FramerateNumerator { get; private set; } /// /// Gets the framerate denominator. /// public int FramerateDenominator { get; private set; } /// /// Gets or sets the resolution (width/height) of this Title /// public Size Resolution { get; set; } /// /// Gets or sets the pixel aspect ratio. /// public Size ParVal { get; set; } } }