projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b35d54d
)
docs: add note/warning to gst_index_get_writer_id() docs about the OBJECT_LOCK
author
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Tue, 19 Apr 2011 12:23:19 +0000
(13:23 +0100)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Tue, 19 Apr 2011 12:23:19 +0000
(13:23 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=646811
gst/gstindex.c
patch
|
blob
|
history
diff --git
a/gst/gstindex.c
b/gst/gstindex.c
index
f606fbf
..
27d4b8b
100644
(file)
--- a/
gst/gstindex.c
+++ b/
gst/gstindex.c
@@
-695,6
+695,12
@@
gst_index_gtype_resolver (GstIndex * index, GstObject * writer,
* to a string. That string will be used to register or look up an id
* in the index.
*
+ * <note>
+ * The caller must not hold @writer's #GST_OBJECT_LOCK, as the default
+ * resolver may call functions that take the object lock as well, and
+ * the lock is not recursive.
+ * </note>
+ *
* Returns: TRUE if the writer would be mapped to an id.
*/
gboolean