mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 05:57:20 -04:00
Apply suggestions from code review
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
This commit is contained in:
parent
f8d7f4acdb
commit
df880ff785
1 changed files with 2 additions and 6 deletions
|
@ -597,12 +597,8 @@ public class DynamicHlsHelper
|
|||
}
|
||||
|
||||
if (string.Equals(state.ActualOutputVideoCodec, "h265", StringComparison.OrdinalIgnoreCase)
|
||||
|| string.Equals(state.ActualOutputVideoCodec, "hevc", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
profileString ??= "main";
|
||||
}
|
||||
|
||||
if (string.Equals(state.ActualOutputVideoCodec, "av1", StringComparison.OrdinalIgnoreCase))
|
||||
|| string.Equals(state.ActualOutputVideoCodec, "hevc", StringComparison.OrdinalIgnoreCase)
|
||||
|| string.Equals(state.ActualOutputVideoCodec, "av1", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
profileString ??= "main";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue