summaryrefslogtreecommitdiffstats
path: root/win/CS
diff options
context:
space:
mode:
authorsr55 <[email protected]>2016-05-28 18:36:37 +0100
committersr55 <[email protected]>2016-05-28 18:36:37 +0100
commit4f33e451ebb575d3c2c62e2f070789abb5c1b5d6 (patch)
tree75c11ed66e6116bc41591aa0a076e925f50bdd9c /win/CS
parentf5f665474b2fbe5e1674936907a4c596bf29dfe4 (diff)
WinGui: Support VP9 and fix VP8 encoding.
Diffstat (limited to 'win/CS')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Interop/Model/Encoding/VideoEncoder.cs8
-rw-r--r--win/CS/HandBrakeWPF/Converters/Video/VideoEncoderConverter.cs1
2 files changed, 7 insertions, 2 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Interop/Model/Encoding/VideoEncoder.cs b/win/CS/HandBrake.ApplicationServices/Interop/Model/Encoding/VideoEncoder.cs
index ac02cb843..5fd693bfb 100644
--- a/win/CS/HandBrake.ApplicationServices/Interop/Model/Encoding/VideoEncoder.cs
+++ b/win/CS/HandBrake.ApplicationServices/Interop/Model/Encoding/VideoEncoder.cs
@@ -59,7 +59,11 @@ namespace HandBrake.ApplicationServices.Interop.Model.Encoding
X265_10,
[Display(Name = "VP8")]
- [ShortName("vp8")]
- VP8
+ [ShortName("VP8")]
+ VP8,
+
+ [Display(Name = "VP9")]
+ [ShortName("VP9")]
+ VP9
}
}
diff --git a/win/CS/HandBrakeWPF/Converters/Video/VideoEncoderConverter.cs b/win/CS/HandBrakeWPF/Converters/Video/VideoEncoderConverter.cs
index b89125674..16559f8d0 100644
--- a/win/CS/HandBrakeWPF/Converters/Video/VideoEncoderConverter.cs
+++ b/win/CS/HandBrakeWPF/Converters/Video/VideoEncoderConverter.cs
@@ -74,6 +74,7 @@ namespace HandBrakeWPF.Converters.Video
{
encoders.Remove(VideoEncoder.Theora);
encoders.Remove(VideoEncoder.VP8);
+ encoders.Remove(VideoEncoder.VP9);
}
if (!SystemInfo.IsQsvAvailableH264)