glupload: Fix caps query with no filter
authorJan Schmidt <jan@centricular.com>
Thu, 30 Jun 2022 02:50:17 +0000 (12:50 +1000)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 30 Jun 2022 08:52:04 +0000 (08:52 +0000)
commit6f9ae5d7580763b5d18badb76f2166ff0012886a
tree527c962d32056a666cc6adf4f0c67833b200099e
parentde0e4b8fd6635ff8f18302767ab995430635421e
glupload: Fix caps query with no filter

If no filter caps are provided with a caps query, always
generate a full set of all caps from all upload methods,
not just the configured one. This is needed to handle
renegotiation when dealing with raw sysmem caps - as the upload
method might accept raw sysmem caps, but only the raw data
uploader adds those to the caps query.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2687>
subprojects/gst-plugins-base/gst-libs/gst/gl/gstglupload.c