Backport of "v4l2videoenc: replace custom QUERY_CAPS handling with getcaps callback" into 1.22
requested to merge tpm/gstreamer:mr-5034-backport-into-1.22-v4l2videoenc-respect-downstream-elements-in-caps-query into 1.22
Backport of !5034 (merged) "v4l2videoenc: replace custom QUERY_CAPS handling with getcaps callback".
Commits: