Commit 60bbb9c2 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

docs: add note/warning to gst_index_get_writer_id() docs about the OBJECT_LOCK
parent b35d54dc
......@@ -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.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment