summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsr55 <[email protected]>2016-09-03 11:42:28 +0100
committersr55 <[email protected]>2016-09-03 11:42:42 +0100
commit5c74914a35f5a0b2de7088da232bbcbb39b106d6 (patch)
treee6b112ab3535680ee0903b238254f5218f131216
parent783d0958f5c6a558459b14abef82c5bb34547a63 (diff)
WinGui: Add initial support for libopus audio encoder.
-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,
}
}