pod: add prop option to avoid fixation
Add a DONT_FIXATE flag to spa_pod_props. The flag avoids fixation of the property by spa_pod_fixate(). When filtering properties, 'and' the flags together in the filtered property. This mostly preserves the merged property flags. It also merges the DONT_FIXATE flags so that when both sides can handle the non-fixated result, it will be returned. This can be used to let PipeWire filter out the common property fields and leave the final selection of fields to the producer. This can only work when the final selected field can be transported in some other way than the format param, like on the buffer fields or in metadata. One use case is negotiation of the DMABUF modifiers. See #1084
Loading
Please register or sign in to comment