mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-26 09:21:55 -04:00
libobs: Use uthash for source objects
All sources are part of a hash table that allows a lookup by UUID. Public sources additionally are in a hash table allowing lookup by name.
This commit is contained in:
@@ -351,6 +351,15 @@ Libobs Objects
|
||||
|
||||
---------------------
|
||||
|
||||
.. function:: obs_source_t *obs_get_transition_by_uuid(const char *uuid)
|
||||
|
||||
Gets a transition by its UUID.
|
||||
|
||||
Increments the source reference counter, use
|
||||
:c:func:`obs_source_release()` to release it when complete.
|
||||
|
||||
---------------------
|
||||
|
||||
.. function:: obs_scene_t *obs_get_scene_by_name(const char *name)
|
||||
|
||||
Gets a scene by its name.
|
||||
|
||||
Reference in New Issue
Block a user