- 11 8月, 2020 1 次提交
-
-
由 jp9000 提交于
Allows explicitly getting the pointer associated with the object.
-
- 24 7月, 2020 1 次提交
-
-
由 Richard Stanway 提交于
The OBSContext never called obs_startup but would always call obs_shutdown in its destructor, resulting in shutdown calls even if libobs wasn't initialized (eg due to a startup error). Instead, we now track if libobs was initialized in OBSApp and call shutdown in the destructor.
-
- 20 3月, 2020 1 次提交
-
-
由 jpark37 提交于
VC++ wants noexcept for move assignment operators, and move contructors.
-
- 24 6月, 2019 1 次提交
-
-
由 jp9000 提交于
Code submissions have continually suffered from formatting inconsistencies that constantly have to be addressed. Using clang-format simplifies this by making code formatting more consistent, and allows automation of the code formatting so that maintainers can focus more on the code itself instead of code formatting.
-
- 04 6月, 2018 1 次提交
-
-
由 jp9000 提交于
Adds a simple signal reference counting function (signal_handler_connect_ref) that makes it so that signals keep the handler around until the all the signal itself is disconnected. This prevents potential crashes where a signal might try to disconnect after a handler has already been destroyed (typically in C++ with OBSSignalHandler helper objects, where destruction isn't guaranteed to be predictable). This also modifies OBSSignalHandler to use the reference-counting connections.
-
- 20 8月, 2015 1 次提交
-
-
由 jp9000 提交于
API Changed: --------------------------- From: - bool obs_startup(const char *locale, profiler_name_store_t *store); To: - bool obs_startup(const char *locale, const char *module_config_path, profiler_name_store_t *store); Summary: --------------------------- This allows plugin modules to store plugin-specific configuration data (rather than only allowing objects to store configuration data). This will be useful for things like caching data, for example looking up and storing ingests from remote (rather than storing locally), or caching font data (so it doesn't have to build a font cache each time), among other things. Also adds a module-specific directory for the UI
-
- 12 8月, 2015 1 次提交
-
-
由 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
-
- 31 7月, 2015 1 次提交
-
-
由 jp9000 提交于
This is just a data-less class that simply calls obs_startup/obs_shutdown automatically.
-
- 07 5月, 2015 4 次提交
- 29 10月, 2014 3 次提交
- 26 9月, 2014 1 次提交
-
-
由 jp9000 提交于
Typedef pointers are unsafe. If you do: typedef struct bla *bla_t; then you cannot use it as a constant, such as: const bla_t, because that constant will be to the pointer itself rather than to the underlying data. I admit this was a fundamental mistake that must be corrected. All typedefs that were pointer types will now have their pointers removed from the type itself, and the pointers will be used when they are actually used as variables/parameters/returns instead. This does not break ABI though, which is pretty nice.
-
- 15 6月, 2014 1 次提交
-
-
由 jp9000 提交于
-
- 23 3月, 2014 1 次提交
-
-
由 jp9000 提交于
- Add a properties window for sources so that you can now actually edit the settings for sources. Also, display the source by itself in the window (Note: not working on mac, and possibly not working on linux). When changing the settings for a source, it will call obs_source_update on that source when you have modified any values automatically. - Add a properties 'widget', eventually I want to turn this in to a regular nice properties view like you'd see in the designer, but right now it just uses a form layout in a QScrollArea with regular controls to display the properties. It's clunky but works for the time being. - Make it so that swap chains and the main graphics subsystem will automatically use at least one backbuffer if none was specified - Fix bug where displays weren't added to the main display array - Make it so that you can get the properties of a source via the actual pointer of a source/encoder/output in addition to being able to look up properties via identifier. - When registering source types, check for required functions (wasn't doing it before). getheight/getwidth should not be optional if it's a video source as well. - Add an RAII OBSObj wrapper to obs.hpp for non-reference-counted libobs pointers - Add an RAII OBSSignal wrapper to obs.hpp for libobs signals to automatically disconnect them on destruction - Move the "scale and center" calculation in window-basic-main.cpp to its own function and in its own source file - Add an 'update' callback to WASAPI audio sources
-
- 03 2月, 2014 4 次提交
-
-
由 Palana 提交于
-
由 jp9000 提交于
Replace a NULL with nullptr and reduce code duplication with the = operators
-
由 jp9000 提交于
Also, removed some unused headers, and moved the constructor/destructor functions to the top
-
由 jp9000 提交于
- Implemented better C++ classes for handling scenes/sources/items in obs.hpp, allowing them to automatically increment and decrement the references of each, as well as assign them to QVariants. - Because QVariants are now using the C++ classes, remove the pointer QVariant wrapper. - Use the new C++ classes with the QVariant user data of list box items, both for the sake of thread safety and to ensure that the data referenced is not freed until removed. NOTE: still might need some testing. - Implemented a source-remove signal from libobs, and start using that signal instead of the source-destroy signal for signalling item removal.
-
- 23 12月, 2013 1 次提交
-
-
由 jp9000 提交于
-
- 16 12月, 2013 2 次提交
- 08 12月, 2013 1 次提交
-
-
由 jp9000 提交于
fixed locale code, added locale files, made wx use locale files, fixed some bugs, and added platform-specific files to the main program
-
- 07 12月, 2013 1 次提交
-
-
由 Palana 提交于
-
- 03 12月, 2013 1 次提交
-
-
由 jp9000 提交于
With the permission of my fellow contributors, I'm switching obs-studio back to GPL v2+ to prevent issues between this project and the original OBS project, and for personal reasons to avoid legal ambiguity (not political reasons, I admittedly would prefer GPL v3+)
-
- 24 11月, 2013 1 次提交
-
-
由 jp9000 提交于
added initial config file stuff, set up a 'dummy' window to cause the graphics system to persist through window changes
-
- 23 11月, 2013 2 次提交