Original commit message from CVS:
* gst/gstpipeline.c: (gst_pipeline_set_property),
(gst_pipeline_get_property), (do_pipeline_seek),
(gst_pipeline_change_state), (gst_pipeline_set_delay),
(gst_pipeline_get_delay):
Don't deadlock when reading properties.
2006-03-13 Wim Taymans <wim@fluendo.com>
+ * gst/gstpipeline.c: (gst_pipeline_set_property),
+ (gst_pipeline_get_property), (do_pipeline_seek),
+ (gst_pipeline_change_state), (gst_pipeline_set_delay),
+ (gst_pipeline_get_delay):
+ Don't deadlock when reading properties.
+
+2006-03-13 Wim Taymans <wim@fluendo.com>
+
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_class_init), (gst_base_transform_init),
(gst_base_transform_sink_event),
{
GstPipeline *pipeline = GST_PIPELINE (object);
- GST_OBJECT_LOCK (pipeline);
switch (prop_id) {
case PROP_DELAY:
gst_pipeline_set_delay (pipeline, g_value_get_uint64 (value));
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
- GST_OBJECT_UNLOCK (pipeline);
}
static void
{
GstPipeline *pipeline = GST_PIPELINE (object);
- GST_OBJECT_LOCK (pipeline);
switch (prop_id) {
case PROP_DELAY:
g_value_set_uint64 (value, gst_pipeline_get_delay (pipeline));
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
- GST_OBJECT_UNLOCK (pipeline);
}
/* default pipeline seeking code: