From 2c4df050b410203f01df899acdc53178680bbb89 Mon Sep 17 00:00:00 2001 From: Zach Vorhies Date: Wed, 25 Nov 2026 07:43:35 -0800 Subject: [PATCH 1/3] test: characterize output strong-reference wrappers (Refs #5695) Ci-Attestation: {"at":1795621489,"gate":"general/all/client-lint","host":"linux-x86_64","key":"569580af142450add4a8a81bdc4aaa33359d092bc1ad17b6c3a2b128bdd36e10","lane":"client-lint","parents":["8a195424731e99fafc0b3a036fb0d93ad8353398"],"secs":28,"stamp":"3b8c3e0305de96bf4add09421e1b74bd","tree":"cf3f5b7521f9a09d1470bcbb19eb3600e5c561b5","v":1,"via":"run"} Ci-Attestation: {"at":1795621490,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"569580af142450add4a8a81bdc4aaa33359d092bc1ad17b6c3a2b128bdd36e10","lane":"client-lint","parents":["8a195424731e99fafc0b3a036fb0d93ad8353398"],"secs":28,"stamp":"dac7d2d231d30b0cc78292a686513625","tree":"cf3f5b7521f9a09d1470bcbb19eb3600e5c561b5","v":1,"via":"run"} Ci-Attestation: {"at":1795621490,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"569580af142450add4a8a81bdc4aaa33359d092bc1ad17b6c3a2b128bdd36e10","lane":"client-lint","parents":["8a195424731e99fafc0b3a036fb0d93ad8353398"],"secs":28,"stamp":"a559f8ffca9f8997e0a250d1ae7f4bdf","tree":"cf3f5b7521f9a09d1470bcbb19eb3600e5c561b5","v":1,"via":"run"} Ci-Attestation: {"at":1795621490,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"569580af142450add4a8a81bdc4aaa33359d092bc1ad17b6c3a2b128bdd36e10","lane":"client-lint","parents":["8a195424731e99fafc0b3a036fb0d93ad8353398"],"secs":28,"stamp":"c883fb6b4de170b2b4857d868a0d3f93","tree":"cf3f5b7521f9a09d1470bcbb19eb3600e5c561b5","v":1,"via":"run"} Ci-Attestation: {"at":1795621490,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"569580af142450add4a8a81bdc4aaa33359d092bc1ad17b6c3a2b128bdd36e10","lane":"client-lint","parents":["8a195424731e99fafc0b3a036fb0d93ad8353398"],"secs":28,"stamp":"af6dc1889e5be372a1eca5943f1b44f0","tree":"cf3f5b7521f9a09d1470bcbb19eb3600e5c561b5","v":1,"via":"run"} Ci-Attestation: {"at":1795621489,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"569580af142450add4a8a81bdc4aaa33359d092bc1ad17b6c3a2b128bdd36e10","lane":"client-lint","parents":["8a195424731e99fafc0b3a036fb0d93ad8353398"],"secs":28,"stamp":"ff4dfb46ff28a226e07f72b5d4966afa","tree":"cf3f5b7521f9a09d1470bcbb19eb3600e5c561b5","v":1,"via":"run"} Ci-Attestation: {"at":1795621489,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"569580af142450add4a8a81bdc4aaa33359d092bc1ad17b6c3a2b128bdd36e10","lane":"client-lint","parents":["8a195424731e99fafc0b3a036fb0d93ad8353398"],"secs":28,"stamp":"6b4d6e38ad5e774c730ce4e63e98985a","tree":"cf3f5b7521f9a09d1470bcbb19eb3600e5c561b5","v":1,"via":"run"} Ci-Attestation: {"at":1795621490,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"569580af142450add4a8a81bdc4aaa33359d092bc1ad17b6c3a2b128bdd36e10","lane":"client-lint","parents":["8a195424731e99fafc0b3a036fb0d93ad8353398"],"secs":28,"stamp":"632cba239c6389340ea1a41af93b5a8e","tree":"cf3f5b7521f9a09d1470bcbb19eb3600e5c561b5","v":1,"via":"run"} Ci-Attestation: {"at":1795621490,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"569580af142450add4a8a81bdc4aaa33359d092bc1ad17b6c3a2b128bdd36e10","lane":"client-lint","parents":["8a195424731e99fafc0b3a036fb0d93ad8353398"],"secs":28,"stamp":"1c801e8985ba99688f2a3244497e0129","tree":"cf3f5b7521f9a09d1470bcbb19eb3600e5c561b5","v":1,"via":"run"} Ci-Attestation: {"at":1795621489,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"569580af142450add4a8a81bdc4aaa33359d092bc1ad17b6c3a2b128bdd36e10","lane":"client-lint","parents":["8a195424731e99fafc0b3a036fb0d93ad8353398"],"secs":28,"stamp":"a85a00fc08b18595a4790733e4eae5ab","tree":"cf3f5b7521f9a09d1470bcbb19eb3600e5c561b5","v":1,"via":"run"} Ci-Attestation: {"at":1795621490,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"569580af142450add4a8a81bdc4aaa33359d092bc1ad17b6c3a2b128bdd36e10","lane":"client-lint","parents":["8a195424731e99fafc0b3a036fb0d93ad8353398"],"secs":28,"stamp":"94ead626f6adf9e243d6d5d3e69a2ae9","tree":"cf3f5b7521f9a09d1470bcbb19eb3600e5c561b5","v":1,"via":"run"} Ci-Attestation: {"at":1795621489,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"569580af142450add4a8a81bdc4aaa33359d092bc1ad17b6c3a2b128bdd36e10","lane":"client-lint","parents":["8a195424731e99fafc0b3a036fb0d93ad8353398"],"secs":28,"stamp":"b2fe6dad0e5d8903d674f5b49435a692","tree":"cf3f5b7521f9a09d1470bcbb19eb3600e5c561b5","v":1,"via":"run"} Ci-Attestation: {"at":1795621489,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"569580af142450add4a8a81bdc4aaa33359d092bc1ad17b6c3a2b128bdd36e10","lane":"client-lint","parents":["8a195424731e99fafc0b3a036fb0d93ad8353398"],"secs":28,"stamp":"379320e32d28c4086cd3896fa0cc204c","tree":"cf3f5b7521f9a09d1470bcbb19eb3600e5c561b5","v":1,"via":"run"} --- .../test-graph.d/test_output_strong_ref.json | 30 ++++ test/cmocka/test_output_strong_ref.c | 155 ++++++++++++++++++ 2 files changed, 185 insertions(+) create mode 100644 test/cmocka/build/test-graph.d/test_output_strong_ref.json create mode 100644 test/cmocka/test_output_strong_ref.c diff --git a/test/cmocka/build/test-graph.d/test_output_strong_ref.json b/test/cmocka/build/test-graph.d/test_output_strong_ref.json new file mode 100644 index 0000000000..d37642bab5 --- /dev/null +++ b/test/cmocka/build/test-graph.d/test_output_strong_ref.json @@ -0,0 +1,30 @@ +{ + "schema": 1, + "targets": { + "test_output_strong_ref": { + "sources": [ + "test/cmocka/test_output_strong_ref.c" + ], + "libraries": [ + "OBS::libobs", + "OBS::caption", + "Uthash::Uthash", + "SIMDe::SIMDe", + "OBS::native-test-cmocka", + { + "name": "OBS::w32-pthreads", + "requires": "OS_WINDOWS" + } + ] + } + }, + "tests": { + "test_output_strong_ref": { + "target": "test_output_strong_ref", + "command": [ + "${target}" + ], + "timeout_seconds": 30 + } + } +} diff --git a/test/cmocka/test_output_strong_ref.c b/test/cmocka/test_output_strong_ref.c new file mode 100644 index 0000000000..eeca5a6e31 --- /dev/null +++ b/test/cmocka/test_output_strong_ref.c @@ -0,0 +1,155 @@ +/* Direct characterization before extraction (Refs #5695). Counts store owners + * minus one; negative counts refuse promotion: characterized, not endorsed. + * Every API call resolves from the selected real libobs. */ +#include +#include +#include +#include +#include "obs-internal.h" + +static void null_inputs(void **state) +{ + (void)state; + obs_output_release(NULL); + assert_null(obs_output_get_ref(NULL)); +} + +static void promotion_and_release(void **state) +{ + (void)state; + struct obs_output output = {0}; + struct obs_weak_output control = {.output = &output}; + output.context.control = (struct obs_weak_object *)&control; + const long counts[] = {0, 1, 7, 1023}; + for (size_t i = 0; i < OBS_COUNTOF(counts); ++i) { + control.ref.refs = counts[i]; + control.ref.weak_refs = 3; + obs_output_t *retained = obs_output_get_ref(&output); + assert_ptr_equal(retained, &output); + assert_int_equal(control.ref.refs, counts[i] + 1); + assert_int_equal(control.ref.weak_refs, 3); + obs_output_release(retained); + assert_int_equal(control.ref.refs, counts[i]); + assert_int_equal(control.ref.weak_refs, 3); + } + /* The synthetic output stays allocated: no dereference of a freed object. */ + for (long refs = -1; refs >= -3; --refs) { + control.ref.refs = refs; + assert_null(obs_output_get_ref(&output)); + assert_int_equal(control.ref.refs, refs); + assert_int_equal(control.ref.weak_refs, 3); + } +} + +static unsigned destroy_calls; +static long expected_weak_refs; + +static const char *output_name(void *type_data) +{ + (void)type_data; + return "strong ref characterization"; +} + +static void *output_create(obs_data_t *settings, obs_output_t *output) +{ + (void)settings; + return output; +} + +static void output_destroy(void *data) +{ + obs_output_t *output = data; + obs_weak_output_t *control = (obs_weak_output_t *)output->context.control; + ++destroy_calls; + /* Removal precedes the callback, and the implicit weak owner survives it. */ + assert_null(obs_get_output_by_name(output->context.name)); + assert_int_equal(control->ref.refs, -1); + assert_int_equal(control->ref.weak_refs, expected_weak_refs); + assert_null(obs_output_get_ref(output)); + assert_int_equal(control->ref.refs, -1); +} + +static bool output_start(void *data) +{ + (void)data; + return false; +} + +static void output_stop(void *data, uint64_t timestamp) +{ + (void)data; + (void)timestamp; +} + +static int setup(void **state) +{ + (void)state; + if (!obs_startup("en-US", NULL, NULL)) + return -1; + struct obs_output_info info = { + .id = "strong-ref-characterization", + .get_name = output_name, + .create = output_create, + .destroy = output_destroy, + .start = output_start, + .stop = output_stop, + }; + obs_register_output(&info); + destroy_calls = 0; + return 0; +} + +static int teardown(void **state) +{ + (void)state; + obs_shutdown(); + return 0; +} + +static void final_release_with_weak_owner(void **state) +{ + (void)state; + obs_output_t *output = obs_output_create("strong-ref-characterization", "strong refs", NULL, NULL); + assert_non_null(output); + obs_weak_output_t *control = obs_output_get_weak_output(output); + expected_weak_refs = 1; + assert_int_equal(control->ref.refs, 0); + obs_output_t *retained = obs_output_get_ref(output); + assert_ptr_equal(retained, output); + assert_int_equal(control->ref.refs, 1); + obs_output_release(output); + assert_int_equal(destroy_calls, 0); + assert_int_equal(control->ref.refs, 0); + assert_string_equal(obs_output_get_name(retained), "strong refs"); + obs_output_release(retained); + assert_int_equal(destroy_calls, 1); + assert_int_equal(control->ref.refs, -1); + assert_int_equal(control->ref.weak_refs, 0); + assert_null(obs_weak_output_get_output(control)); + const long allocations = bnum_allocs(); + obs_weak_output_release(control); + assert_int_equal(bnum_allocs(), allocations - 1); +} + +static void final_release_without_weak_owner(void **state) +{ + (void)state; + const long allocations = bnum_allocs(); + obs_output_t *output = obs_output_create("strong-ref-characterization", "sole strong ref", NULL, NULL); + assert_non_null(output); + expected_weak_refs = 0; + obs_output_release(output); + assert_int_equal(destroy_calls, 1); + assert_int_equal(bnum_allocs(), allocations); +} + +int main(void) +{ + const struct CMUnitTest tests[] = { + cmocka_unit_test(null_inputs), + cmocka_unit_test(promotion_and_release), + cmocka_unit_test_setup_teardown(final_release_with_weak_owner, setup, teardown), + cmocka_unit_test_setup_teardown(final_release_without_weak_owner, setup, teardown), + }; + return cmocka_run_group_tests(tests, NULL, NULL); +} From 3aa7bfdc89e9d155c69fab48c90d14e22904b74c Mon Sep 17 00:00:00 2001 From: Zach Vorhies Date: Wed, 25 Nov 2026 07:46:12 -0800 Subject: [PATCH 2/3] libobs: move output strong wrappers verbatim before group registration (Refs #5695) --- libobs/obs-output-strong-ref.c.h | 28 ++++++++++++++++++++++++++++ libobs/obs-output.c.h | 28 ---------------------------- 2 files changed, 28 insertions(+), 28 deletions(-) create mode 100644 libobs/obs-output-strong-ref.c.h diff --git a/libobs/obs-output-strong-ref.c.h b/libobs/obs-output-strong-ref.c.h new file mode 100644 index 0000000000..51bf7b2150 --- /dev/null +++ b/libobs/obs-output-strong-ref.c.h @@ -0,0 +1,28 @@ +#include "libobs/build/libobs.pch.h" + +#define get_weak(output) ((obs_weak_output_t *)output->context.control) + +void obs_output_release(obs_output_t *output) +{ + if (!output) + return; + + obs_weak_output_t *control = get_weak(output); + if (obs_ref_release(&control->ref)) { + // The order of operations is important here since + // get_context_by_name in obs.c relies on weak refs + // being alive while the context is listed + obs_output_destroy(output); + obs_weak_output_release(control); + } +} + +obs_output_t *obs_output_get_ref(obs_output_t *output) +{ + if (!output) + return NULL; + + return obs_weak_output_get_output(get_weak(output)); +} + +#undef get_weak diff --git a/libobs/obs-output.c.h b/libobs/obs-output.c.h index 75c278b407..df83704d65 100644 --- a/libobs/obs-output.c.h +++ b/libobs/obs-output.c.h @@ -17,8 +17,6 @@ #include "libobs/build/libobs.pch.h" -#define get_weak(output) ((obs_weak_output_t *)output->context.control) - #define RECONNECT_RETRY_BASE_EXP 1.5f static inline bool active(const struct obs_output *output) @@ -2197,29 +2195,6 @@ void obs_output_signal_stop(obs_output_t *output, int code) } } -void obs_output_release(obs_output_t *output) -{ - if (!output) - return; - - obs_weak_output_t *control = get_weak(output); - if (obs_ref_release(&control->ref)) { - // The order of operations is important here since - // get_context_by_name in obs.c relies on weak refs - // being alive while the context is listed - obs_output_destroy(output); - obs_weak_output_release(control); - } -} - -obs_output_t *obs_output_get_ref(obs_output_t *output) -{ - if (!output) - return NULL; - - return obs_weak_output_get_output(get_weak(output)); -} - static struct caption_text *caption_text_new(const char *text, size_t bytes, struct caption_text *tail, struct caption_text **head, double display_duration) { @@ -2270,9 +2245,6 @@ void obs_output_output_caption_text2(obs_output_t *output, const char *text, dou } } -/* File-local macros: keep them out of the next source of a unity build. */ -#undef get_weak - /* File-local macros (BUILD.md): out of the next file in the unity group. */ #undef RECONNECT_RETRY_BASE_EXP #undef CAPTION_HEVC From 7a9b2ed36ca65e70c815cf6e1dfc659ca02c8c52 Mon Sep 17 00:00:00 2001 From: Zach Vorhies Date: Wed, 25 Nov 2026 07:46:20 -0800 Subject: [PATCH 3/3] libobs: register verbatim output strong-reference extraction (Refs #5695) Client-Checks: {"checks":{"base":"69df7dfd1d68b826d596ed525ae0e4e5588e8eb8","coverage":"all-tracked-applicable-files","diff":["libobs/build/libobs.core-output+.h.c","libobs/obs-output-strong-ref.c.h","libobs/obs-output.c.h","test/cmocka/build/test-graph.json","test/cmocka/test_output_strong_ref.c"],"head":"cf2b1e49f777acef05722e58bfcac15ddf8ae6f1","tools":{"orchestrator-python":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]","schema-dependencies":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]\n{'jsonschema': '4.26.0', 'json_source_map': '1.0.5'}","uv":"uv 0.13.5 (x86_64-unknown-linux-gnu)","xmllint":"xmllint: using libxml version 21503\n compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 DTDValid HTML C14N Catalog XPath XPointer XInclude Iconv ISO8859X Regexps Automata RelaxNG Schemas Modules Debug"},"tracked-digest":"12cf3788269ac3fbf54cf097d2bb51e5dab096367478b821daaff9f48c6caabe","tree":"9eeaab103730ac2048fe00250efe6ce7d8061780"}} Ci-Attestation: {"at":1795679746,"gate":"data/all/compatibility","host":"linux-x86_64","key":"","lane":"client-checks","parents":["dd5ee97bdbf8eb1eb51cace501f4d667c29c8a35"],"secs":108,"stamp":"1a2ce1e2a50d573f4a6b3ac9c6773dd1","tree":"9eeaab103730ac2048fe00250efe6ce7d8061780","v":1,"via":"run"} Ci-Attestation: {"at":1795679746,"gate":"data/all/flatpak-manifest","host":"linux-x86_64","key":"","lane":"client-checks","parents":["dd5ee97bdbf8eb1eb51cace501f4d667c29c8a35"],"secs":108,"stamp":"a8291223d4d617bb5b1e0b8125700ecb","tree":"9eeaab103730ac2048fe00250efe6ce7d8061780","v":1,"via":"run"} Ci-Attestation: {"at":1795679746,"gate":"data/all/qt-xml","host":"linux-x86_64","key":"","lane":"client-checks","parents":["dd5ee97bdbf8eb1eb51cace501f4d667c29c8a35"],"secs":108,"stamp":"5d0c9a878de70849d39d50813360f9d2","tree":"9eeaab103730ac2048fe00250efe6ce7d8061780","v":1,"via":"run"} Ci-Attestation: {"at":1795679746,"gate":"data/all/services-schema","host":"linux-x86_64","key":"","lane":"client-checks","parents":["dd5ee97bdbf8eb1eb51cace501f4d667c29c8a35"],"secs":108,"stamp":"b2e2a537e1100d06b83389456b406451","tree":"9eeaab103730ac2048fe00250efe6ce7d8061780","v":1,"via":"run"} Ci-Attestation: {"at":1796411582,"gate":"general/all/client-lint","host":"linux-x86_64","key":"681bd33f45672a51bd0c55bf1f805ba49d0c87b3eecdef2dd3eed27cad487e97","lane":"client-lint","parents":["3aa7bfdc89e9d155c69fab48c90d14e22904b74c"],"secs":14,"stamp":"e3e2698d3b6a29ebc374dc0294a9e12e","tree":"47af05fd0107cf2b3a90a9a9a5d152bb74ffc108","v":1,"via":"run"} Ci-Attestation: {"at":1795679746,"gate":"python/all/self-test","host":"linux-x86_64","key":"","lane":"client-checks","parents":["dd5ee97bdbf8eb1eb51cace501f4d667c29c8a35"],"secs":108,"stamp":"ccf71bea764fdd06f9ab891d807cff5c","tree":"9eeaab103730ac2048fe00250efe6ce7d8061780","v":1,"via":"run"} Ci-Attestation: {"at":1796411583,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"681bd33f45672a51bd0c55bf1f805ba49d0c87b3eecdef2dd3eed27cad487e97","lane":"client-lint","parents":["3aa7bfdc89e9d155c69fab48c90d14e22904b74c"],"secs":14,"stamp":"97bdef0c68bc8fb7f4866812df5eac7c","tree":"47af05fd0107cf2b3a90a9a9a5d152bb74ffc108","v":1,"via":"run"} Ci-Attestation: {"at":1796411583,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"681bd33f45672a51bd0c55bf1f805ba49d0c87b3eecdef2dd3eed27cad487e97","lane":"client-lint","parents":["3aa7bfdc89e9d155c69fab48c90d14e22904b74c"],"secs":14,"stamp":"f562d1857cf5ad0c4716935eaf6d1c46","tree":"47af05fd0107cf2b3a90a9a9a5d152bb74ffc108","v":1,"via":"run"} Ci-Attestation: {"at":1796411582,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"681bd33f45672a51bd0c55bf1f805ba49d0c87b3eecdef2dd3eed27cad487e97","lane":"client-lint","parents":["3aa7bfdc89e9d155c69fab48c90d14e22904b74c"],"secs":14,"stamp":"a3b7bc955a8ba193e0ae01b3bcc80269","tree":"47af05fd0107cf2b3a90a9a9a5d152bb74ffc108","v":1,"via":"run"} Ci-Attestation: {"at":1796411582,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"681bd33f45672a51bd0c55bf1f805ba49d0c87b3eecdef2dd3eed27cad487e97","lane":"client-lint","parents":["3aa7bfdc89e9d155c69fab48c90d14e22904b74c"],"secs":14,"stamp":"b7bd757c2ea41fe6add111829ad545d5","tree":"47af05fd0107cf2b3a90a9a9a5d152bb74ffc108","v":1,"via":"run"} Ci-Attestation: {"at":1796411582,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"681bd33f45672a51bd0c55bf1f805ba49d0c87b3eecdef2dd3eed27cad487e97","lane":"client-lint","parents":["3aa7bfdc89e9d155c69fab48c90d14e22904b74c"],"secs":14,"stamp":"9bd7d46378a99139a32ed57534abc380","tree":"47af05fd0107cf2b3a90a9a9a5d152bb74ffc108","v":1,"via":"run"} Ci-Attestation: {"at":1796411582,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"681bd33f45672a51bd0c55bf1f805ba49d0c87b3eecdef2dd3eed27cad487e97","lane":"client-lint","parents":["3aa7bfdc89e9d155c69fab48c90d14e22904b74c"],"secs":14,"stamp":"dc07e014d422f150ae0102fb4eae62f6","tree":"47af05fd0107cf2b3a90a9a9a5d152bb74ffc108","v":1,"via":"run"} Ci-Attestation: {"at":1796411582,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"681bd33f45672a51bd0c55bf1f805ba49d0c87b3eecdef2dd3eed27cad487e97","lane":"client-lint","parents":["3aa7bfdc89e9d155c69fab48c90d14e22904b74c"],"secs":14,"stamp":"1adc7d544e688005fa717864877a09ec","tree":"47af05fd0107cf2b3a90a9a9a5d152bb74ffc108","v":1,"via":"run"} Ci-Attestation: {"at":1796411582,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"681bd33f45672a51bd0c55bf1f805ba49d0c87b3eecdef2dd3eed27cad487e97","lane":"client-lint","parents":["3aa7bfdc89e9d155c69fab48c90d14e22904b74c"],"secs":14,"stamp":"7f4c6a80acf57c53dca5c5b3c25d9702","tree":"47af05fd0107cf2b3a90a9a9a5d152bb74ffc108","v":1,"via":"run"} Ci-Attestation: {"at":1796411582,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"681bd33f45672a51bd0c55bf1f805ba49d0c87b3eecdef2dd3eed27cad487e97","lane":"client-lint","parents":["3aa7bfdc89e9d155c69fab48c90d14e22904b74c"],"secs":14,"stamp":"0aa0ac650cba51a60e9f097f26b05875","tree":"47af05fd0107cf2b3a90a9a9a5d152bb74ffc108","v":1,"via":"run"} Ci-Attestation: {"at":1796411582,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"681bd33f45672a51bd0c55bf1f805ba49d0c87b3eecdef2dd3eed27cad487e97","lane":"client-lint","parents":["3aa7bfdc89e9d155c69fab48c90d14e22904b74c"],"secs":14,"stamp":"fc833986f291e8440f58b9cb234fa0dc","tree":"47af05fd0107cf2b3a90a9a9a5d152bb74ffc108","v":1,"via":"run"} Ci-Attestation: {"at":1796411582,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"681bd33f45672a51bd0c55bf1f805ba49d0c87b3eecdef2dd3eed27cad487e97","lane":"client-lint","parents":["3aa7bfdc89e9d155c69fab48c90d14e22904b74c"],"secs":14,"stamp":"9fc6fdf5e571eb77616b97f55aa4ce78","tree":"47af05fd0107cf2b3a90a9a9a5d152bb74ffc108","v":1,"via":"run"} Ci-Attestation: {"at":1796411582,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"681bd33f45672a51bd0c55bf1f805ba49d0c87b3eecdef2dd3eed27cad487e97","lane":"client-lint","parents":["3aa7bfdc89e9d155c69fab48c90d14e22904b74c"],"secs":14,"stamp":"3e0687bd932c3640207e778cde0c0ccb","tree":"47af05fd0107cf2b3a90a9a9a5d152bb74ffc108","v":1,"via":"run"} Ci-Attestation: {"at":1795680108,"gate":"rust/x86_64-unknown-linux-gnu/client-test","host":"linux-x86_64","key":"69988971b2932e18034ab0017452e73c0d6df0e246e1c740278692bee998b523","lane":"client-test-x86_64-unknown-linux-gnu","parents":["dd5ee97bdbf8eb1eb51cace501f4d667c29c8a35"],"secs":360,"stamp":"ec095305011f8ecd8a9bf5e2a12e3e26","tree":"9eeaab103730ac2048fe00250efe6ce7d8061780","v":1,"via":"run"} --- libobs/build/libobs.core-output+.h.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libobs/build/libobs.core-output+.h.c b/libobs/build/libobs.core-output+.h.c index e7b5233e1b..2a825f3ff4 100644 --- a/libobs/build/libobs.core-output+.h.c +++ b/libobs/build/libobs.core-output+.h.c @@ -77,6 +77,7 @@ #include "libobs/obs-output-settings-fields.c.h" #include "libobs/obs-output-size-getters-fields.c.h" #include "libobs/obs-output-starting-queries-fields.c.h" +#include "libobs/obs-output-strong-ref.c.h" #include "libobs/obs-output-supported-codecs-fields.c.h" #include "libobs/obs-output-total-bytes-fields.c.h" #include "libobs/obs-output-total-frames-fields.c.h"