-
由 Palana 提交于
Due to all the threads in libobs it wouldn't be safe to make that parameter reconfigurable after libobs is initialized without adding even more synchronization. On the other hand, adding a function to set the name store before calling obs_startup would solve the problem of passing a name store into libobs, but it can lead to more complicated semantics for obs_get_profiler_name_store (e.g., should it always return the current name store even if libobs isn't initialized until someone calls set_name_store(NULL)? should obs_shutdown call set_name_store(NULL)? Passing it as obs_startup parameter avoids these (and hopefully other) potential misunderstandings
44b5afbd