// Correct bad passthru option\r
if (this.IsIncompatiblePassthru(track))\r
{\r
- AudioEncoder encoder = GetCompatiblePassthru(track);\r
+ AudioEncoder encoder = GetCompatiblePassthru(track, false);\r
drp_audioEncoder.SelectedItem = EnumHelper<AudioEncoder>.GetDisplay(encoder);\r
} \r
}\r
// Correct bad passthru option\r
if (this.IsIncompatiblePassthru(track))\r
{\r
- AudioEncoder encoder = GetCompatiblePassthru(track);\r
+ AudioEncoder encoder = GetCompatiblePassthru(track, false);\r
drp_audioEncoder.SelectedItem = EnumHelper<AudioEncoder>.GetDisplay(encoder);\r
}\r
break;\r
}\r
}\r
\r
+ /// <summary>\r
+ /// Move to\r
+ /// </summary>\r
+ /// <param name="top">\r
+ /// The top.\r
+ /// </param>\r
private void MoveTo(bool top)\r
{\r
if (audioList.SelectedRows.Count == 0) return;\r
/// <param name="track">\r
/// The track.\r
/// </param>\r
+ /// <param name="useAutoPassthruOptions">\r
+ /// The use Auto Passthru Options.\r
+ /// </param>\r
/// <returns>\r
/// AN Audio encoder.\r
/// </returns>\r
- private AudioEncoder GetCompatiblePassthru(AudioTrack track)\r
+ private AudioEncoder GetCompatiblePassthru(AudioTrack track, bool useAutoPassthruOptions)\r
{\r
- //\r
- if (this.UserSettingService.GetUserSetting<bool>(UserSettingConstants.ShowAdvancedAudioPassthruOpts))\r
+ if (useAutoPassthruOptions)\r
{\r
if (track.ScannedTrack.Format.Contains("AC3") && this.check_ac3.Checked)\r
{\r
{\r
if (this.IsIncompatiblePassthru(track))\r
{\r
- track.Encoder = GetCompatiblePassthru(track);\r
+ track.Encoder = GetCompatiblePassthru(track, true);\r
}\r
}\r
}\r