obs-studio/libobs
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
..
audio-monitoring libobs: Rename obs_audio_monitoring_supported to _available 2021-12-22 02:43:14 -08:00
callback libobs/callback: Make proc_handler_t threadsafe 2021-10-14 04:28:04 -07:00
data libobs: Remove DrawSrgbDecompressPremultiplied 2021-10-02 05:53:27 -07:00
graphics libobs/graphics: Add Linux-only gs_query_dmabuf_* functions 2021-12-22 14:27:53 -03:00
media-io clang-format: Commit file changes for clang-format 12 2021-10-13 20:00:04 +11:00
util libobs: Deprecate obs object addref functions 2022-01-25 05:20:03 -08:00
CMakeLists.txt libobs: Deprecate obs object addref functions 2022-01-25 05:20:03 -08:00
LibObsConfig.cmake.in cmake: Export plugin data destination 2014-09-27 09:41:32 -07:00
LibObsConfigVersion.cmake.in Export libobs cmake target, so external plugins can be built without ugly hacks 2014-05-08 14:43:16 +02:00
libobs.pc.in libobs: add ppc64(le) specific flags to libobs.pc 2020-04-27 00:07:18 +02:00
obs-audio-controls.c UI: Display grayscale volume meter if muted 2021-12-23 06:35:29 -08:00
obs-audio-controls.h libobs: Mark unused audio functions as deprecated 2021-10-24 02:00:16 -07:00
obs-audio.c libobs: Add ability to queue audio task 2021-12-19 11:53:14 -08:00
obs-avc.c clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-avc.h clang-format: Commit file changes for clang-format 11 2021-10-13 20:00:04 +11:00
obs-cocoa.m libobs: Cleanup uses of objc_msgSend in Objective-C code 2021-01-12 10:10:37 -08:00
obs-config.h libobs, UI: Add support for beta builds 2021-12-27 10:01:07 -08:00
obs-data.c libobs: Add obs_data_get_last_json() 2021-04-23 12:38:50 -07:00
obs-data.h libobs: Add obs_data_get_last_json() 2021-04-23 12:38:50 -07:00
obs-defs.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-display.c clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-encoder.c libobs: Use size_t for obs_encoder_get_frame_size 2021-12-26 17:32:00 +01:00
obs-encoder.h UI: Hide encoder if marked internal 2020-02-18 21:37:41 -08:00
obs-ffmpeg-compat.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-hotkey-name-map.c libobs: Remove WIN32_LEAN_AND_MEAN 2021-10-10 19:12:45 -07:00
obs-hotkey.c libobs, linux-v4l2: Set thread names 2021-01-25 04:13:24 -08:00
obs-hotkey.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-hotkeys.h libobs: Remove _WIN32 ifdef from enum 2019-11-17 20:30:42 -08:00
obs-interaction.h clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
obs-internal.h libobs: Mark raw_active and gpu_encoder_active as volatile 2022-01-18 03:49:20 -08:00
obs-missing-files.c libobs: Add missing file API to sources 2021-01-17 10:31:58 +13:00
obs-missing-files.h libobs: Add missing file API to sources 2021-01-17 10:31:58 +13:00
obs-module.c libobs: Fix missing return when loading non-OBS DLL 2021-12-06 14:30:26 +01:00
obs-module.h libobs: Add functions to get locale text from modules 2020-08-10 12:24:01 -07:00
obs-nix-platform.c libobs: Introduce the concept of a Unix platform 2021-02-01 19:05:10 -03:00
obs-nix-platform.h libobs: Add a Wayland platform 2021-02-09 09:39:04 -03:00
obs-nix-wayland.c libobs: Add Wayland hotkey infrastructure 2021-12-16 10:54:29 -03:00
obs-nix-wayland.h libobs: Add a Wayland platform 2021-02-09 09:39:04 -03:00
obs-nix-x11.c libobs: Open a separate X11 connection for hotkeys 2022-01-08 19:20:35 -03:00
obs-nix-x11.h libobs/nix: Move X11-specific code to obs-nix-x11.c 2021-02-01 19:03:43 -03:00
obs-nix.c libobs/nix: List Flatpak search paths 2021-07-08 10:53:15 -07:00
obs-nix.h libobs/nix: Move X11-specific code to obs-nix-x11.c 2021-02-01 19:03:43 -03:00
obs-output-delay.c libobs: Minor fixes / code cleanups 2021-03-04 19:29:33 +01:00
obs-output.c libobs: Allow last encoder error for last output error 2021-10-25 12:24:16 -07:00
obs-output.h libobs: Implement pausing of outputs 2019-07-07 16:38:22 -07:00
obs-properties.c libobs: Fix type mismatch on obs_property_text_monospace 2022-01-14 21:02:29 +11:00
obs-properties.h libobs: Fix type mismatch on obs_property_text_monospace 2022-01-14 21:02:29 +11:00
obs-scene.c libobs: Replace addref calls with get_ref 2022-01-24 14:06:50 -08:00
obs-scene.h libobs: Implement additional source blending modes 2021-12-20 09:06:38 -08:00
obs-service.c libobs: Change service max res. to res. list 2020-11-13 18:22:53 -08:00
obs-service.h libobs: Change service max res. to res. list 2020-11-13 18:22:53 -08:00
obs-source-deinterlace.c libobs: Deinterlace as linear SRGB when needed 2021-01-21 07:42:57 -08:00
obs-source-transition.c libobs: Replace addref calls with get_ref 2022-01-24 14:06:50 -08:00
obs-source.c libobs: Replace addref calls with get_ref 2022-01-24 14:06:50 -08:00
obs-source.h libobs: Add source cap to hint not to show properties 2021-12-07 20:54:37 -08:00
obs-ui.h docs/sphinx: Fix various typos 2019-10-14 17:19:38 -07:00
obs-video-gpu-encode.c libobs: Defer reconfiguring encoders to the encode threads 2021-08-23 18:26:37 -07:00
obs-video.c libobs: Mark raw_active and gpu_encoder_active as volatile 2022-01-18 03:49:20 -08:00
obs-view.c libobs: Replace addref calls with get_ref 2022-01-24 14:06:50 -08:00
obs-win-crash-handler.c libobs: Specify format string for bcrash 2022-01-15 00:31:31 +01:00
obs-windows.c libobs: Log Windows 10 Hardware GPU Scheduler 2020-08-26 22:57:52 +02:00
obs.c libobs: Replace addref calls with get_ref 2022-01-24 14:06:50 -08:00
obs.h libobs: Deprecate obs object addref functions 2022-01-25 05:20:03 -08:00
obs.hpp libobs: Use get_ref calls for obs.hpp helper classes 2022-01-24 14:06:50 -08:00
obsconfig.h.in libobs, UI: Add support for beta builds 2021-12-27 10:01:07 -08:00