void obs_weak_encoder_addref(obs_weak_encoder_t *weak) { if (!weak) return; obs_weak_ref_addref(&weak->ref); }
void obs_weak_output_addref(obs_weak_output_t *weak) { if (!weak) return; obs_weak_ref_addref(&weak->ref); }
void obs_weak_service_addref(obs_weak_service_t *weak) { if (!weak) return; obs_weak_ref_addref(&weak->ref); }