diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-04-14 19:11:44 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-04-14 19:11:44 +0200 |
commit | 004f981edb839397f68029fa0cf7f23537826165 (patch) | |
tree | 97093312b133e090a35de20c20e09a6bc46dfac9 | |
parent | 7e0bdbf2086b5fffa439dbd876a5e57281dc7c1a (diff) |
paramspecs: add note about racyness
Add a note about potential racyness in _is_mutable().
-rw-r--r-- | gst/gstparamspecs.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 |