Gst_video_meta_set_alignment() passes argument by value
No that is not wrong, but a bit surprising. As most GTK related functions seems to pass structs always as references. At least I can currently not remember a function which passes structs by value. For language bindings one has to be a bit carefully in this case.
Comment of Sebastian Dröge GNOME Team:
That seems like an oversight. It should really be passed by reference to make automated bindings happy. Please create an issue
References: https://discourse.gnome.org/t/gst-video-meta-set-alignment-passes-argument-by-value/7258