Am Samstag, den 03.10.2009, 21:37 +0300 schrieb Stefan Kost: > Could this be a race in gobject? After all it crashes in > gst_signal_processor_pad_get_type > and not in gst_signal_processor_get_type. > > What I wonder if it would help to do this? Other plugins like e.g. jack, > baseaudiosink, .. do that too.
If you use G_DEFINE_TYPE() or have g_once_init_enter/leave in the _get_type() functions this shouldn't be necessary. Also most other places where this could happen are doing exactly what you said already :) I think you should use G_DEFINE_TYPE() if possible in gstsignalprocessor. BUT: this can't be the problem here because all code was called from the registry and that happens from a single thread, in a wonderful serialized way :(
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil