mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
gst/elements/gstbufferstore.c: initialize debugging structure correctly
Original commit message from CVS: 2004-01-11 Benjamin Otte <in7y118@public.uni-hamburg.de> * gst/elements/gstbufferstore.c: initialize debugging structure correctly * gst/elements/gsttee.c: (gst_tee_set_property): g_object_notify when property was changed * gst/elements/gsttypefindelement.c: (gst_type_find_element_change_state): clear caps correctly
This commit is contained in:
parent
88c4887db3
commit
a06605e4e3
9 changed files with 24 additions and 10 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2004-01-11 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
||||
|
||||
* gst/elements/gstbufferstore.c:
|
||||
initialize debugging structure correctly
|
||||
* gst/elements/gsttee.c: (gst_tee_set_property):
|
||||
g_object_notify when property was changed
|
||||
* gst/elements/gsttypefindelement.c:
|
||||
(gst_type_find_element_change_state):
|
||||
clear caps correctly
|
||||
|
||||
2004-01-11 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
||||
|
||||
* gst/gstqueue.c: (gst_queue_init):
|
||||
|
|
|
@ -47,7 +47,10 @@ static void gst_buffer_store_cleared_func (GstBufferStore * store);
|
|||
|
||||
static guint gst_buffer_store_signals[LAST_SIGNAL] = { 0 };
|
||||
|
||||
GST_BOILERPLATE (GstBufferStore, gst_buffer_store, GObject, G_TYPE_OBJECT);
|
||||
#define _do_init(bla) \
|
||||
GST_DEBUG_CATEGORY_INIT (gst_buffer_store_debug, "GstBufferStore", 0, "buffer store helper");
|
||||
|
||||
GST_BOILERPLATE_FULL (GstBufferStore, gst_buffer_store, GObject, G_TYPE_OBJECT, _do_init);
|
||||
|
||||
|
||||
G_GNUC_UNUSED static void
|
||||
|
|
|
@ -201,6 +201,7 @@ gst_tee_set_property (GObject *object, guint prop_id, const GValue *value, GPara
|
|||
switch (prop_id) {
|
||||
case ARG_SILENT:
|
||||
tee->silent = g_value_get_boolean (value);
|
||||
g_object_notify (G_OBJECT (tee), "silent");
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
||||
|
|
|
@ -633,8 +633,7 @@ gst_type_find_element_change_state (GstElement *element)
|
|||
break;
|
||||
case GST_STATE_PAUSED_TO_READY:
|
||||
stop_typefinding (typefind);
|
||||
if (typefind->caps)
|
||||
gst_caps_free (typefind->caps);
|
||||
gst_caps_replace (&typefind->caps, NULL);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
|
@ -633,8 +633,7 @@ gst_type_find_element_change_state (GstElement *element)
|
|||
break;
|
||||
case GST_STATE_PAUSED_TO_READY:
|
||||
stop_typefinding (typefind);
|
||||
if (typefind->caps)
|
||||
gst_caps_free (typefind->caps);
|
||||
gst_caps_replace (&typefind->caps, NULL);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
|
@ -47,7 +47,10 @@ static void gst_buffer_store_cleared_func (GstBufferStore * store);
|
|||
|
||||
static guint gst_buffer_store_signals[LAST_SIGNAL] = { 0 };
|
||||
|
||||
GST_BOILERPLATE (GstBufferStore, gst_buffer_store, GObject, G_TYPE_OBJECT);
|
||||
#define _do_init(bla) \
|
||||
GST_DEBUG_CATEGORY_INIT (gst_buffer_store_debug, "GstBufferStore", 0, "buffer store helper");
|
||||
|
||||
GST_BOILERPLATE_FULL (GstBufferStore, gst_buffer_store, GObject, G_TYPE_OBJECT, _do_init);
|
||||
|
||||
|
||||
G_GNUC_UNUSED static void
|
||||
|
|
|
@ -201,6 +201,7 @@ gst_tee_set_property (GObject *object, guint prop_id, const GValue *value, GPara
|
|||
switch (prop_id) {
|
||||
case ARG_SILENT:
|
||||
tee->silent = g_value_get_boolean (value);
|
||||
g_object_notify (G_OBJECT (tee), "silent");
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
||||
|
|
|
@ -633,8 +633,7 @@ gst_type_find_element_change_state (GstElement *element)
|
|||
break;
|
||||
case GST_STATE_PAUSED_TO_READY:
|
||||
stop_typefinding (typefind);
|
||||
if (typefind->caps)
|
||||
gst_caps_free (typefind->caps);
|
||||
gst_caps_replace (&typefind->caps, NULL);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
|
@ -633,8 +633,7 @@ gst_type_find_element_change_state (GstElement *element)
|
|||
break;
|
||||
case GST_STATE_PAUSED_TO_READY:
|
||||
stop_typefinding (typefind);
|
||||
if (typefind->caps)
|
||||
gst_caps_free (typefind->caps);
|
||||
gst_caps_replace (&typefind->caps, NULL);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue