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):
Use better defaults for when a queue should block. This
gets rid of jerky playback for quite a few files.
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
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);
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;
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;
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
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);
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;
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;