1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-09 04:22:30 +01:00

New: AV1 Video Codec Formatting

fixes RADARR-K
fixes RADARR-R
fixes RADARR-6C
This commit is contained in:
Qstick 2020-05-14 23:03:03 -04:00
parent c0b80696bc
commit ebc72bfba9

View File

@ -353,6 +353,11 @@ public static string FormatVideoCodec(MediaInfoModel mediaInfo, string sceneName
return "VC1"; return "VC1";
} }
if (videoFormat.ContainsIgnoreCase("AV1"))
{
return "AV1";
}
if (videoFormat.ContainsIgnoreCase("VP6") || videoFormat.ContainsIgnoreCase("VP7") || if (videoFormat.ContainsIgnoreCase("VP6") || videoFormat.ContainsIgnoreCase("VP7") ||
videoFormat.ContainsIgnoreCase("VP8") || videoFormat.ContainsIgnoreCase("VP9")) videoFormat.ContainsIgnoreCase("VP8") || videoFormat.ContainsIgnoreCase("VP9"))
{ {