gl,video: Make ptrs to VideoInfo and (GL)AllocationParams immutable
authorMarijn Suijten <marijns95@gmail.com>
Mon, 4 Jan 2021 22:25:10 +0000 (23:25 +0100)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 14 Jan 2021 11:53:10 +0000 (11:53 +0000)
commitabb026ec6ab1617b44de69e9a251317592eee755
tree882db8f60b5f4d742370fec7397682ab34df5867
parentfa8b5b9a6d472e8a11d3b362f09f8c7d29fa6704
gl,video: Make ptrs to VideoInfo and (GL)AllocationParams immutable

These parameters are incorrectly regarded as mutable in G-IR making them
"incompatible" with languages that are explicit about mutability like
Rust. In order to clean up the code and expected API there, update the
signatures here, right at the source (instead of overriding them in
Gir.toml and hoping for the best).

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1005>
38 files changed:
ext/gl/gltestsrc.c
ext/gl/gltestsrc.h
ext/gl/gstglimagesink.c
gst-libs/gst/gl/egl/gsteglimage.c
gst-libs/gst/gl/egl/gsteglimage.h
gst-libs/gst/gl/egl/gsteglimage_private.h
gst-libs/gst/gl/gstglbasememory.c
gst-libs/gst/gl/gstglbasememory.h
gst-libs/gst/gl/gstglbuffer.c
gst-libs/gst/gl/gstglbuffer.h
gst-libs/gst/gl/gstglbufferpool.c
gst-libs/gst/gl/gstglbufferpool.h
gst-libs/gst/gl/gstglcolorconvert.c
gst-libs/gst/gl/gstglformat.c
gst-libs/gst/gl/gstglformat.h
gst-libs/gst/gl/gstglmemory.c
gst-libs/gst/gl/gstglmemory.h
gst-libs/gst/gl/gstglmemorypbo.c
gst-libs/gst/gl/gstglrenderbuffer.c
gst-libs/gst/gl/gstglrenderbuffer.h
gst-libs/gst/gl/gstglutils.c
gst-libs/gst/gl/gstglutils.h
gst-libs/gst/gl/gstglviewconvert.c
gst-libs/gst/pbutils/gstaudiovisualizer.c
gst-libs/gst/video/gstvideopool.c
gst-libs/gst/video/gstvideopool.h
gst-libs/gst/video/video-converter.c
gst-libs/gst/video/video-converter.h
gst-libs/gst/video/video-frame.c
gst-libs/gst/video/video-frame.h
gst-libs/gst/video/video-info.c
gst-libs/gst/video/video-info.h
gst-libs/gst/video/video-overlay-composition.c
gst/compositor/compositor.c
gst/videoscale/gstvideoscale.c
sys/xvimage/xvcontext.c
sys/xvimage/xvcontext.h
tests/check/libs/gstglmemory.c