Skip to content

vaapidecode: merge common profiles before setting size range

The synthetic profiles, such as H264 baseline, H265 intra, etc. are added at the end of processing all available VA profiles. This generated an non-optimal caps for negotiation, since the synthetic profiles don't have frame size ranges.

This patch adds those possible synthetic profiles when the associated profile is processed, with its frame size ranges.

Now allowed sink caps are simpler.

Merge request reports