Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix capitalization in video profiles causing invalid transcodes #3933

Merged
merged 1 commit into from
Aug 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ object ProfileHelper {
ProfileCondition(
ProfileConditionType.NotEquals,
ProfileConditionValue.VideoProfile,
"Main 10"
"main 10"
)
)
}
Expand Down Expand Up @@ -90,11 +90,11 @@ object ProfileHelper {
ProfileConditionType.EqualsAny,
ProfileConditionValue.VideoProfile,
listOfNotNull(
"High",
"Main",
"Baseline",
"Constrained Baseline",
if (supportsAVCHigh10) "High 10" else null
"high",
"main",
"baseline",
"constrained baseline",
if (supportsAVCHigh10) "high 10" else null
).joinToString("|")
)
)
Expand All @@ -115,10 +115,10 @@ object ProfileHelper {
ProfileConditionType.EqualsAny,
ProfileConditionValue.VideoProfile,
listOfNotNull(
"High",
"Main",
"Baseline",
"Constrained Baseline"
"high",
"main",
"baseline",
"constrained baseline"
).joinToString("|")
)
)
Expand All @@ -141,7 +141,7 @@ object ProfileHelper {
ProfileCondition(
ProfileConditionType.Equals,
ProfileConditionValue.VideoProfile,
"High 10"
"high 10"
)
)

Expand Down Expand Up @@ -191,8 +191,8 @@ object ProfileHelper {
ProfileConditionType.EqualsAny,
ProfileConditionValue.VideoProfile,
listOfNotNull(
"Main",
if (supportsHevcMain10) "Main 10" else null
"main",
if (supportsHevcMain10) "main 10" else null
).joinToString("|")
)
)
Expand All @@ -212,7 +212,7 @@ object ProfileHelper {
ProfileCondition(
ProfileConditionType.Equals,
ProfileConditionValue.VideoProfile,
"Main"
"main"
)
)

Expand All @@ -234,7 +234,7 @@ object ProfileHelper {
ProfileCondition(
ProfileConditionType.Equals,
ProfileConditionValue.VideoProfile,
"Main 10"
"main 10"
)
)

Expand Down
Loading