Skip to content

vaapidecode,vaapipostproc: Disable DMAbuf from caps negotiation.

Given the amount of complains about artifacts when negotiating dmabuf given incompatible drm-formats, and that there's no enough bandwidth for a proper and quick fix in gstreamer-vaapi, this patch disables, from decoders and postprocessor, the DMABuf caps feature.

For those who needs DMABuf can use the va elements in -bad, increasing their ranking for autoplugging by using the environment variable GST_PLUGIN_FEATURE_RANK=vah264dec:MAX, for example.

This can be considered a first step to the deprecation of gstreamer-vaapi in favor of the va plugin in -bad.

Fixes: #1137 (closed)

Merge request reports