Skip to content

vaapipostproc: check for filter before appending caps

While ensuring the allowed sink pad caps, the filter attributes set the frame size restriction, but it is not ensured, at that moment, that the filter is already instantiaded.

In order to silence the glib logs, this patch add only calls gst_vaapi_filter_append_caps() if the filter is instantiated.

Merge request reports