mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
gst/gstbuffer.c: Register subbufer along with the buffer type so that it does not accidentally gets registered from N...
Original commit message from CVS: * gst/gstbuffer.c: (_gst_buffer_initialize): Register subbufer along with the buffer type so that it does not accidentally gets registered from N different streaming threads in a non threadsafe way.
This commit is contained in:
parent
f2cee82949
commit
c4e715f316
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2006-05-11 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst/gstbuffer.c: (_gst_buffer_initialize):
|
||||
Register subbufer along with the buffer type so that
|
||||
it does not accidentally gets registered from N
|
||||
different streaming threads in a non threadsafe way.
|
||||
|
||||
2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/gstbuffer.h:
|
||||
|
|
|
@ -121,7 +121,7 @@ static void gst_buffer_init (GTypeInstance * instance, gpointer g_class);
|
|||
static void gst_buffer_class_init (gpointer g_class, gpointer class_data);
|
||||
static void gst_buffer_finalize (GstBuffer * buffer);
|
||||
static GstBuffer *_gst_buffer_copy (GstBuffer * buffer);
|
||||
|
||||
static GType gst_subbuffer_get_type (void);
|
||||
|
||||
void
|
||||
_gst_buffer_initialize (void)
|
||||
|
@ -129,6 +129,7 @@ _gst_buffer_initialize (void)
|
|||
gpointer ptr;
|
||||
|
||||
gst_buffer_get_type ();
|
||||
gst_subbuffer_get_type ();
|
||||
|
||||
/* the GstMiniObject types need to be class_ref'd once before it can be
|
||||
* done from multiple threads;
|
||||
|
|
Loading…
Reference in a new issue