diff options
Diffstat (limited to 'win/CS/HandBrakeWPF/Converters')
-rw-r--r-- | win/CS/HandBrakeWPF/Converters/Video/EncoderOptionsTooltipConverter.cs | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/win/CS/HandBrakeWPF/Converters/Video/EncoderOptionsTooltipConverter.cs b/win/CS/HandBrakeWPF/Converters/Video/EncoderOptionsTooltipConverter.cs index d0486eff9..c66b339cc 100644 --- a/win/CS/HandBrakeWPF/Converters/Video/EncoderOptionsTooltipConverter.cs +++ b/win/CS/HandBrakeWPF/Converters/Video/EncoderOptionsTooltipConverter.cs @@ -16,15 +16,12 @@ namespace HandBrakeWPF.Converters.Video using HandBrake.Interop.Interop.Model.Encoding;
- using EncodeTask = HandBrakeWPF.Services.Encode.Model.EncodeTask;
- using VideoLevel = HandBrakeWPF.Services.Encode.Model.Models.Video.VideoLevel;
- using VideoPreset = HandBrakeWPF.Services.Encode.Model.Models.Video.VideoPreset;
- using VideoProfile = HandBrakeWPF.Services.Encode.Model.Models.Video.VideoProfile;
- using VideoTune = HandBrakeWPF.Services.Encode.Model.Models.Video.VideoTune;
+ using EncodeTask = Services.Encode.Model.EncodeTask;
+ using VideoLevel = Services.Encode.Model.Models.Video.VideoLevel;
+ using VideoPreset = Services.Encode.Model.Models.Video.VideoPreset;
+ using VideoProfile = Services.Encode.Model.Models.Video.VideoProfile;
+ using VideoTune = Services.Encode.Model.Models.Video.VideoTune;
- /// <summary>
- /// The x 264 queue tooltip converter.
- /// </summary>
public class EncoderOptionsTooltipConverter : IValueConverter
{
/// <summary>
@@ -50,11 +47,6 @@ namespace HandBrakeWPF.Converters.Video EncodeTask task = value as EncodeTask;
if (task != null && (task.VideoEncoder == VideoEncoder.X264 || task.VideoEncoder == VideoEncoder.X264_10 || task.VideoEncoder == VideoEncoder.X265 || task.VideoEncoder == VideoEncoder.X265_10 || task.VideoEncoder == VideoEncoder.X265_12))
{
- if (task.ShowAdvancedTab)
- {
- return task.AdvancedEncoderOptions;
- }
-
VideoTune tune = task.VideoTunes.FirstOrDefault();
return string.Format("Preset: {0}{5}Tune: {1}{5}Profile: {2}{5}Level: {3}{5}Extra Arguments: {4}{5}",
@@ -66,7 +58,7 @@ namespace HandBrakeWPF.Converters.Video Environment.NewLine);
}
- return task != null ? task.AdvancedEncoderOptions : string.Empty;
+ return string.Empty;
}
/// <summary>
|