rtspsrc: Skip PTs with caps incompatible to the global caps
authorSebastian Dröge <sebastian@centricular.com>
Tue, 4 Apr 2023 16:23:14 +0000 (19:23 +0300)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 4 Apr 2023 23:56:05 +0000 (00:56 +0100)
commitda4c5c01d1c2460eba92ac91e2000845bc017209
treeaeb9ae9cb9a4665be6b0da7596fac6221741c265
parentcb08a6d8dc3cf153f62cc7097945fac1efae7338
rtspsrc: Skip PTs with caps incompatible to the global caps

Otherwise empty caps are created while all following code assumes that
the caps will have exactly one structure, and then run into assertions.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4343>
subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c