mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 06:53:07 +03:00
Merge pull request #6456 from GodTamIt/vp8-vp9
Disambiguate vpx to vp8 or vp9
This commit is contained in:
@@ -433,7 +433,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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user