Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libobs: Deprecate obs_get_transition_by_[name|uuid] #11206

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/sphinx/reference-core.rst
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,9 @@ Libobs Objects
Increments the source reference counter, use
:c:func:`obs_source_release()` to release it when complete.

.. deprecated:: 31.1
Use :c:func:`obs_frontend_get_transitions` from the Frontend API or :c:func:`obs_get_source_by_uuid` instead.

---------------------

.. function:: obs_source_t *obs_get_transition_by_uuid(const char *uuid)
Expand All @@ -362,6 +365,9 @@ Libobs Objects

.. versionadded:: 29.1

.. deprecated:: 31.1
Use :c:func:`obs_get_source_by_uuid` instead.

---------------------

.. function:: obs_scene_t *obs_get_scene_by_name(const char *name)
Expand Down
4 changes: 2 additions & 2 deletions libobs/obs.h
Original file line number Diff line number Diff line change
Expand Up @@ -699,10 +699,10 @@ EXPORT obs_source_t *obs_get_source_by_name(const char *name);
EXPORT obs_source_t *obs_get_source_by_uuid(const char *uuid);

/** Get a transition source by its name. */
EXPORT obs_source_t *obs_get_transition_by_name(const char *name);
OBS_DEPRECATED EXPORT obs_source_t *obs_get_transition_by_name(const char *name);

/** Get a transition source by its UUID. */
EXPORT obs_source_t *obs_get_transition_by_uuid(const char *uuid);
OBS_DEPRECATED EXPORT obs_source_t *obs_get_transition_by_uuid(const char *uuid);

/** Gets an output by its name. */
EXPORT obs_output_t *obs_get_output_by_name(const char *name);
Expand Down
Loading