Commit b49724fd authored by Seungha Yang's avatar Seungha Yang

x265enc: Enhance profile setting with fixing infinite loop condition

Don't fixate profile caps which will choose the first profile from list.
Instead, store all profiles allowed by peer and try them until x265 can
accept one of them.
parent de6f296d
Pipeline #55055 failed with stages
in 32 minutes and 5 seconds