diff options
| author | Chris Tam <ohgodtamit@gmail.com> | 2021-08-20 14:22:21 -0400 |
|---|---|---|
| committer | Chris Tam <ohgodtamit@gmail.com> | 2021-09-04 07:36:17 -0400 |
| commit | b205d5a03201de59240aefbce468b21199cf2b3d (patch) | |
| tree | b9d2b0e682704b0d736a4e20944e771481cad4bb /Jellyfin.Api/Helpers/StreamingHelpers.cs | |
| parent | b1e7cfd84c6007472f3b42d6aea360a02119925a (diff) | |
Disambiguate vpx to vp8 or vp9
Diffstat (limited to 'Jellyfin.Api/Helpers/StreamingHelpers.cs')
| -rw-r--r-- | Jellyfin.Api/Helpers/StreamingHelpers.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Jellyfin.Api/Helpers/StreamingHelpers.cs b/Jellyfin.Api/Helpers/StreamingHelpers.cs index 8cffe9c4c..adf4789ec 100644 --- a/Jellyfin.Api/Helpers/StreamingHelpers.cs +++ b/Jellyfin.Api/Helpers/StreamingHelpers.cs @@ -439,7 +439,9 @@ namespace Jellyfin.Api.Helpers return ".ogv"; } - if (string.Equals(videoCodec, "vpx", StringComparison.OrdinalIgnoreCase)) + if (string.Equals(videoCodec, "vp8", StringComparison.OrdinalIgnoreCase) + || string.Equals(videoCodec, "vp9", StringComparison.OrdinalIgnoreCase) + || string.Equals(videoCodec, "vpx", StringComparison.OrdinalIgnoreCase)) { return ".webm"; } |
