obs-studio/deps/obs-scripting
Jim 03d9bda387 libobs: Deprecate obs object addref functions
Deprecates:
obs_source_addref()
obs_output_addref()
obs_encoder_addref()
obs_service_addref()
obs_scene_addref()

These functions should be considered unsafe and not used. Instead, use:
obs_source_get_ref()
obs_output_get_ref()
obs_encoder_get_ref()
obs_service_get_ref()
obs_scene_get_ref()

These functions return a pointer to the incremented object only if the
object is still valid, otherwise they will return null, indicating that
the object is no longer valid or is unsafe to use.

The reason why this is being done is because certain third party plugins
seem to be using addref, and are somehow managing to call addref on
sources that have already been fully released. For the sake of safety,
almost all usage of these functions within OBS have also been replaced
as well.
2022-01-25 05:20:03 -08:00
..
obslua libobs: Deprecate obs object addref functions 2022-01-25 05:20:03 -08:00
obspython libobs: Deprecate obs object addref functions 2022-01-25 05:20:03 -08:00
CMakeLists.txt deps: Update cmake_minimum_required to 2.8.12 2021-01-18 01:37:45 -08:00
cstrcache.cpp deps/obs-scripting: Add scripting support 2018-01-04 11:37:42 -08:00
cstrcache.h deps/obs-scripting: Add scripting support 2018-01-04 11:37:42 -08:00
obs-scripting-callback.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-scripting-config.h.in Remove BUILD_CAPTIONS build flag 2020-11-02 22:46:55 -06:00
obs-scripting-internal.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-scripting-logging.c clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-scripting-lua-frontend.c obs-scripting: add transition duration functions 2021-10-15 16:50:59 -07:00
obs-scripting-lua-source.c deps/obs-scripting: Fix pthread mutex leaks 2021-08-23 22:30:55 -07:00
obs-scripting-lua.c deps/obs-scripting: Fix pthread mutex leaks 2021-08-23 22:30:55 -07:00
obs-scripting-lua.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-scripting-python-frontend.c obs-scripting: add transition duration functions 2021-10-15 16:50:59 -07:00
obs-scripting-python-import.c obs-scripting: add transition duration functions 2021-10-15 16:50:59 -07:00
obs-scripting-python-import.h obs-scripting: add transition duration functions 2021-10-15 16:50:59 -07:00
obs-scripting-python.c deps/obs-scripting: Fix pthread mutex leaks 2021-08-23 22:30:55 -07:00
obs-scripting-python.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-scripting.c clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-scripting.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00