blob: de53cf35ca0d0679052febefe85045a917ed8183 (
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
|
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="VideoEncoderHelpers.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>
// Defines the VideoEncoderHelpers type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------
namespace HandBrakeWPF.Helpers
{
using System.Configuration;
using HandBrake.Interop.Interop.Model.Encoding;
public class VideoEncoderHelpers
{
public static bool IsH264(VideoEncoder encoder)
{
if (encoder == VideoEncoder.X264 || encoder == VideoEncoder.X264_10 || encoder == VideoEncoder.QuickSync || encoder == VideoEncoder.NvencH264)
{
return true;
}
return false;
}
}
}
|