summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--win/CS/HandBrakeWPF/Converters/Audio/AudioEncoderConverter.cs1
-rw-r--r--win/CS/HandBrakeWPF/Services/Encode/Model/Models/AudioEncoder.cs4
2 files changed, 5 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Converters/Audio/AudioEncoderConverter.cs b/win/CS/HandBrakeWPF/Converters/Audio/AudioEncoderConverter.cs
index 3eabe2217..0e538b5e3 100644
--- a/win/CS/HandBrakeWPF/Converters/Audio/AudioEncoderConverter.cs
+++ b/win/CS/HandBrakeWPF/Converters/Audio/AudioEncoderConverter.cs
@@ -69,6 +69,7 @@ namespace HandBrakeWPF.Converters.Audio
encoders.Remove(AudioEncoder.ffflac);
encoders.Remove(AudioEncoder.ffflac24);
encoders.Remove(AudioEncoder.FlacPassthru);
+ encoders.Remove(AudioEncoder.Opus);
}
if (parameter != null && parameter.ToString() == "True")
diff --git a/win/CS/HandBrakeWPF/Services/Encode/Model/Models/AudioEncoder.cs b/win/CS/HandBrakeWPF/Services/Encode/Model/Models/AudioEncoder.cs
index fe56a1e14..3a3097521 100644
--- a/win/CS/HandBrakeWPF/Services/Encode/Model/Models/AudioEncoder.cs
+++ b/win/CS/HandBrakeWPF/Services/Encode/Model/Models/AudioEncoder.cs
@@ -85,5 +85,9 @@ namespace HandBrakeWPF.Services.Encode.Model.Models
[Display(Name = "FLAC Passthru")]
[ShortName("copy:flac")]
FlacPassthru,
+
+ [Display(Name = "Opus (libopus)")]
+ [ShortName("opus")]
+ Opus,
}
}