XImageSink: Gst::init() make critical violation of G_TYPE_IS_INSTANTIATABLE
Gst::init() fails with the following critical error. The stack shows that the error probably happens in XImageSink.
(<unknown>:86758): GLib-GObject-CRITICAL **: 10:04:44.107: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
You can find an example which produces the error here: https://pastebin.com/c2E6bYfu
I pasted the stack here: https://pastebin.com/rcUS6CGB
I’m on MacOS using C++ (clang) with these library versions: GStreamer Core 1.18.0, GLib 2.66.0 and GStreamermm 1.10.
The log is attached: gst.log.xz