mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
gst/gstformat.c: g_type_class_ref() our GstFormat type to make sure we avoid the thread-unsafe bits of the GObject/GT...
Original commit message from CVS: * gst/gstformat.c: (_gst_format_initialize): g_type_class_ref() our GstFormat type to make sure we avoid the thread-unsafe bits of the GObject/GType system, ie. bug #349410 and bug #64764. Should fix intermittent tee unit test failures (#474823).
This commit is contained in:
parent
56d428073e
commit
b826ab6612
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/gstformat.c: (_gst_format_initialize):
|
||||
g_type_class_ref() our GstFormat type to make sure we avoid the
|
||||
thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
|
||||
bug #64764. Should fix intermittent tee unit test failures (#474823).
|
||||
|
||||
2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* tests/check/elements/tee.c: (test_num_buffers):
|
||||
|
|
|
@ -74,7 +74,7 @@ _gst_format_initialize (void)
|
|||
_n_values++;
|
||||
}
|
||||
/* getting the type registers the enum */
|
||||
gst_format_get_type ();
|
||||
g_type_class_ref (gst_format_get_type ());
|
||||
g_static_mutex_unlock (&mutex);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue