diff options
Diffstat (limited to 'win/CS/HandBrakeWPF/Converters/Video/VideoEncoderConverter.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/Converters/Video/VideoEncoderConverter.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Converters/Video/VideoEncoderConverter.cs b/win/CS/HandBrakeWPF/Converters/Video/VideoEncoderConverter.cs index 6854656d4..32b68e9fb 100644 --- a/win/CS/HandBrakeWPF/Converters/Video/VideoEncoderConverter.cs +++ b/win/CS/HandBrakeWPF/Converters/Video/VideoEncoderConverter.cs @@ -65,6 +65,12 @@ namespace HandBrakeWPF.Converters.Video encoders.Remove(VideoEncoder.X265);
}
+ if (task != null && task.OutputFormat == OutputFormat.X265)
+ {
+ encoders.Clear();
+ encoders.Add(VideoEncoder.X265);
+ }
+
return EnumHelper<VideoEncoder>.GetEnumDisplayValuesSubset(encoders);
}
|