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?
Well, it'd save the need for the pthread_once, as it's already guarded on the PE side.
I figure now that I've missed a call from parser_create, but I think this one could be dropped as it comes from `DllGetClassObject`, and instead probably one should added in `winegstreamer_create_wm_sync_reader` instead.
On the unix side, there would be no need for guards or calls to `init_gstreamer`.
I guess. I don't feel like that alone is enough to make me feel like it's a clear improvement, but I guess I also don't hate it enough to want to spend time arguing about it.