Revert "glupload: Fix caps query with no filter"
authorJan Schmidt <jan@centricular.com>
Fri, 1 Jul 2022 13:57:08 +0000 (23:57 +1000)
committerJan Schmidt <jan@centricular.com>
Fri, 1 Jul 2022 14:05:53 +0000 (00:05 +1000)
commit79d8b435d7b346e65a683eee988e4b1084159428
treefc6acae58aa53e8535655728ea2446eee89dcf5d
parent2aae64edb9510bb3f819da175948f18663eabd8e
Revert "glupload: Fix caps query with no filter"

This reverts commit 6f9ae5d7580763b5d18badb76f2166ff0012886a.

The _transform_caps() function can't tell the difference
between the caller wanting to know the output caps
for the current method, or all possible output caps. If
it includes caps for all possible methods, glupload can
end up negotiating and sending the wrong output caps
downstream.

Partially reverts !2687
Fixes #1310

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