Backport of "videoaggregator: ensure peek_next_sample() uses the correct caps" into 1.18
requested to merge tpm/gst-plugins-base:backport-mr-813-into-1.18-aggregator-peek-correct-caps into 1.18
Backport of !813 (merged) "videoaggregator: ensure peek_next_sample() uses the correct caps".
Commits:
- b4ea8332 videoaggregator: ensure peek_next_sample() uses the correct caps