blob: ecebb0526e7a4e2dfb9caeeb81dce06402d415a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="HBRate.cs" company="HandBrake Project (http://handbrake.fr)">
// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
// </copyright>
// <summary>
// Represents a rate in HandBrake: audio sample rate or video framerate.
// </summary>
// --------------------------------------------------------------------------------------------------------------------
namespace HandBrake.Interop.Interop.Model.Encoding
{
/// <summary>
/// Represents a rate in HandBrake: audio sample rate or video framerate.
/// </summary>
public class HBRate
{
/// <summary>
/// Initializes a new instance of the <see cref="HBRate"/> class.
/// </summary>
/// <param name="name">
/// The name.
/// </param>
/// <param name="rate">
/// The rate.
/// </param>
public HBRate(string name, int rate)
{
this.Name = name;
this.Rate = rate;
}
/// <summary>
/// Gets the name to use for this rate.
/// </summary>
public string Name { get; private set; }
/// <summary>
/// Gets the raw rate.
/// </summary>
public int Rate { get; private set; }
}
}
|