blob: bee2526c76339945f3a07b14d3b38ffedd466628 (
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 VideoEncoder = HandBrakeWPF.Model.Video.VideoEncoder;
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;
}
}
}
|