pbutils: Allow getting descriptions for unfixed caps
@vincent
Submitted by Vincent Penquerc'h Link to original bug (#703378)
Description
I pushed this patch:
The intent is to allow describing non fixed caps if they represent the same format, but as others pointed out, a single media type may represent different formats (eg, audio/mpeg). So this patch is too loose. Filing so the patch may be reverted if no good solution can be found.
For context, my test case is getting caps from gupnp-dlna restrictions. These are not fixed, and I pass them as profiles to encodebin. If encodebin can not find elements to satisfy the profile, those caps will be passed through the description/missing-plugin code.