Skip to content

va: filter & postproc: Match color with caps features.

When fixating color, there might be "other caps" with color spaces not supported by the caps features exposed in the vapostproc's source pad caps template (perhaps it's a bug somewhere else in GStreamer).

This solution checks if the proposed format exists in the filter within the caps feature associated with the proposed format.

The check is done with the new filter's function gst_va_filter_has_video_format().

Edited by Víctor Manuel Jáquez Leal

Merge request reports