From 3147797afb9c445d58ad81089bf54886c0cf0969 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Fri, 9 Apr 2004 19:05:03 +0000 Subject: [PATCH] gst/: don't use memchunks for these objects, use malloc instead Original commit message from CVS: * gst/gstbin.c: (gst_bin_get_type): * gst/gstclock.c: (gst_clock_get_type): * gst/gstindex.c: (gst_index_get_type): * gst/gstobject.c: (gst_object_get_type), (gst_signal_object_get_type): * gst/gstpad.c: (gst_pad_get_type), (gst_real_pad_get_type), (gst_pad_template_get_type), (gst_ghost_pad_get_type): * gst/gstpluginfeature.c: (gst_plugin_feature_get_type): * gst/gstqueue.c: (gst_queue_get_type): * gst/gstregistry.c: (gst_registry_get_type): * gst/gstsystemclock.c: (gst_system_clock_get_type): * gst/gstthread.c: (gst_thread_get_type): don't use memchunks for these objects, use malloc instead --- ChangeLog | 16 ++++++++++++++++ gst/gstbin.c | 2 +- gst/gstclock.c | 2 +- gst/gstindex.c | 2 +- gst/gstobject.c | 4 ++-- gst/gstpad.c | 8 ++++---- gst/gstpluginfeature.c | 2 +- gst/gstqueue.c | 2 +- gst/gstregistry.c | 2 +- gst/gstsystemclock.c | 2 +- gst/gstthread.c | 2 +- plugins/elements/gstqueue.c | 2 +- 12 files changed, 31 insertions(+), 15 deletions(-) diff --git a/ChangeLog b/ChangeLog index aa96741..90616d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,19 @@ +2004-04-09 Benjamin Otte + + * gst/gstbin.c: (gst_bin_get_type): + * gst/gstclock.c: (gst_clock_get_type): + * gst/gstindex.c: (gst_index_get_type): + * gst/gstobject.c: (gst_object_get_type), + (gst_signal_object_get_type): + * gst/gstpad.c: (gst_pad_get_type), (gst_real_pad_get_type), + (gst_pad_template_get_type), (gst_ghost_pad_get_type): + * gst/gstpluginfeature.c: (gst_plugin_feature_get_type): + * gst/gstqueue.c: (gst_queue_get_type): + * gst/gstregistry.c: (gst_registry_get_type): + * gst/gstsystemclock.c: (gst_system_clock_get_type): + * gst/gstthread.c: (gst_thread_get_type): + don't use memchunks for these objects, use malloc instead + 2004-04-08 Thomas Vander Stichele * docs/gst/.cvsignore: diff --git a/gst/gstbin.c b/gst/gstbin.c index 6662022..6a996b9 100644 --- a/gst/gstbin.c +++ b/gst/gstbin.c @@ -106,7 +106,7 @@ gst_bin_get_type (void) NULL, NULL, sizeof (GstBin), - 8, + 0, (GInstanceInitFunc) gst_bin_init, NULL }; diff --git a/gst/gstclock.c b/gst/gstclock.c index 1d94334..2c604f4 100644 --- a/gst/gstclock.c +++ b/gst/gstclock.c @@ -342,7 +342,7 @@ gst_clock_get_type (void) NULL, NULL, sizeof (GstClock), - 4, + 0, (GInstanceInitFunc) gst_clock_init, NULL }; diff --git a/gst/gstindex.c b/gst/gstindex.c index ac17fa1..bc1a69e 100644 --- a/gst/gstindex.c +++ b/gst/gstindex.c @@ -125,7 +125,7 @@ gst_index_get_type (void) NULL, NULL, sizeof (GstIndex), - 1, + 0, (GInstanceInitFunc) gst_index_init, NULL }; diff --git a/gst/gstobject.c b/gst/gstobject.c index 894c551..f75fb0a 100644 --- a/gst/gstobject.c +++ b/gst/gstobject.c @@ -109,7 +109,7 @@ gst_object_get_type (void) NULL, NULL, sizeof (GstObject), - 32, + 0, (GInstanceInitFunc) gst_object_init, NULL }; @@ -803,7 +803,7 @@ gst_signal_object_get_type (void) NULL, NULL, sizeof (GstSignalObject), - 16, + 0, (GInstanceInitFunc) gst_signal_object_init, NULL }; diff --git a/gst/gstpad.c b/gst/gstpad.c index 5b2ca9b..bb5ef99 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -74,7 +74,7 @@ gst_pad_get_type (void) sizeof (GstPadClass), NULL, NULL, (GClassInitFunc) gst_pad_class_init, NULL, NULL, sizeof (GstPad), - 32, + 0, (GInstanceInitFunc) gst_pad_init, NULL }; @@ -156,7 +156,7 @@ gst_real_pad_get_type (void) sizeof (GstRealPadClass), NULL, NULL, (GClassInitFunc) gst_real_pad_class_init, NULL, NULL, sizeof (GstRealPad), - 32, + 0, (GInstanceInitFunc) gst_real_pad_init, NULL }; @@ -3327,7 +3327,7 @@ gst_pad_template_get_type (void) sizeof (GstPadTemplateClass), NULL, NULL, (GClassInitFunc) gst_pad_template_class_init, NULL, NULL, sizeof (GstPadTemplate), - 32, + 0, (GInstanceInitFunc) gst_pad_template_init, NULL }; @@ -3566,7 +3566,7 @@ gst_ghost_pad_get_type (void) sizeof (GstGhostPadClass), NULL, NULL, (GClassInitFunc) gst_ghost_pad_class_init, NULL, NULL, sizeof (GstGhostPad), - 8, + 0, (GInstanceInitFunc) gst_ghost_pad_init, NULL }; diff --git a/gst/gstpluginfeature.c b/gst/gstpluginfeature.c index a8f73df..2c90689 100644 --- a/gst/gstpluginfeature.c +++ b/gst/gstpluginfeature.c @@ -50,7 +50,7 @@ gst_plugin_feature_get_type (void) NULL, NULL, sizeof (GObject), - 32, + 0, (GInstanceInitFunc) gst_plugin_feature_init, NULL }; diff --git a/gst/gstqueue.c b/gst/gstqueue.c index bd3adc8..b86b517 100644 --- a/gst/gstqueue.c +++ b/gst/gstqueue.c @@ -131,7 +131,7 @@ gst_queue_get_type (void) NULL, NULL, sizeof (GstQueue), - 4, + 0, (GInstanceInitFunc) gst_queue_init, NULL }; diff --git a/gst/gstregistry.c b/gst/gstregistry.c index 329f442..06de568 100644 --- a/gst/gstregistry.c +++ b/gst/gstregistry.c @@ -63,7 +63,7 @@ gst_registry_get_type (void) NULL, NULL, sizeof (GstRegistry), - 32, + 0, (GInstanceInitFunc) gst_registry_init, NULL }; diff --git a/gst/gstsystemclock.c b/gst/gstsystemclock.c index a474898..9966a58 100644 --- a/gst/gstsystemclock.c +++ b/gst/gstsystemclock.c @@ -59,7 +59,7 @@ gst_system_clock_get_type (void) NULL, NULL, sizeof (GstSystemClock), - 4, + 0, (GInstanceInitFunc) gst_system_clock_init, NULL }; diff --git a/gst/gstthread.c b/gst/gstthread.c index d70910c..c6f2bfa 100644 --- a/gst/gstthread.c +++ b/gst/gstthread.c @@ -124,7 +124,7 @@ gst_thread_get_type (void) NULL, NULL, sizeof (GstThread), - 4, + 0, gst_thread_init, NULL }; diff --git a/plugins/elements/gstqueue.c b/plugins/elements/gstqueue.c index bd3adc8..b86b517 100644 --- a/plugins/elements/gstqueue.c +++ b/plugins/elements/gstqueue.c @@ -131,7 +131,7 @@ gst_queue_get_type (void) NULL, NULL, sizeof (GstQueue), - 4, + 0, (GInstanceInitFunc) gst_queue_init, NULL }; -- 2.7.4