From 004f981edb839397f68029fa0cf7f23537826165 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 14 Apr 2009 19:11:44 +0200 Subject: [PATCH] paramspecs: add note about racyness Add a note about potential racyness in _is_mutable(). --- gst/gstparamspecs.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gst/gstparamspecs.c b/gst/gstparamspecs.c index 120113bd8d..7476cd1261 100644 --- a/gst/gstparamspecs.c +++ b/gst/gstparamspecs.c @@ -214,6 +214,11 @@ gst_param_spec_fraction (const gchar * name, const gchar * nick, * Checks if an object property for the GstElement given in @element * may be modified given the current state of @element. * + * Note: By the time this method returns, the state of the element might have + * changed already. Use this method only if you can control the state of the + * element between calling this method and setting the property, such as with a + * mutex. + * * Returns: TRUE if the property may be modified * * Since: 0.10.23