They were using wrong types - while uint is correct technically, for compatibility reasons caps have them as signed int. Values are now correctly read + added simple guards just to be sure. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7526>