Skip to content

videoaggregator: ensure peek_next_sample() uses the correct caps

gst_pad_get_current_caps() may be wrong when there is a renegotiation in progress for the pad and we have not yet received or selected the buffer with different caps yet.

Fix by storing the caps through in a similar way to the existing code for buffer/video-info selection machinery.

Merge request reports