Patch 1/7 has the unfortunate effect that now we're loading GStreamer even when winegstreamer is just being registered. I assume this is for working around a race condition in Unreal Engine, as was described to me out of channel. I'm not thrilled about doing things like this just to work around application race conditions.
How is that? it's called only from `DllGetClassObject` which is when objects are instantiated, not registered no?
No, you're right, I'm blind, sorry. [Though, in my defense, process_attach is a slightly misleading name if it's not called from DllMain().]
I'm not sure I see the benefit of adding a separate unix call then, though. If we want to move the gst_init_check() call to a more neutral file I think that's fine, but that can be done without adding a new entry point?