Apply suggestions from code review
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
This commit is contained in:
parent
f8d7f4acdb
commit
df880ff785
|
@ -597,12 +597,8 @@ public class DynamicHlsHelper
|
||||||
}
|
}
|
||||||
|
|
||||||
if (string.Equals(state.ActualOutputVideoCodec, "h265", StringComparison.OrdinalIgnoreCase)
|
if (string.Equals(state.ActualOutputVideoCodec, "h265", StringComparison.OrdinalIgnoreCase)
|
||||||
|| string.Equals(state.ActualOutputVideoCodec, "hevc", StringComparison.OrdinalIgnoreCase))
|
|| string.Equals(state.ActualOutputVideoCodec, "hevc", StringComparison.OrdinalIgnoreCase)
|
||||||
{
|
|| string.Equals(state.ActualOutputVideoCodec, "av1", StringComparison.OrdinalIgnoreCase))
|
||||||
profileString ??= "main";
|
|
||||||
}
|
|
||||||
|
|
||||||
if (string.Equals(state.ActualOutputVideoCodec, "av1", StringComparison.OrdinalIgnoreCase))
|
|
||||||
{
|
{
|
||||||
profileString ??= "main";
|
profileString ??= "main";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user