0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 04:42:18 +02:00
obs-studio/obs
jp9000 4fe3c47216 Handle source adding/removal better
- Made it so that when a source is added or removed from a scene it
   will add a reference to sourceSceneRefs (std::unordered_map).  Each
   source adds a reference to that every time they are added to a scene,
   and releases a reference from it when they are removed from a scene.

   When the value reaches 0, the source is no longer in any scenes, and
   is then marked for removal and destroyed.

   Before, I was using the source internal reference counter, which is a
   really bad thing to do because I don't know what might actually be
   referencing it.  So using a separate discrete reference counter for
   the number of scenes it's in is better in this case.
2014-01-06 20:20:18 -07:00
..
forms Removed unnecessary sizers from forms (homeworld) 2014-01-06 20:17:54 -07:00
CMakeLists.txt add infrastructure for app bundle target and unmark as advanced 2013-12-30 20:52:44 +01:00
makefile.am GLX implementation and *nix-specific file handling implementation 2014-01-02 18:20:58 -06:00
obs-app.cpp update API and implement preliminary ability to add sources to scenes 2013-12-30 06:56:39 -07:00
obs-app.hpp update API and implement preliminary ability to add sources to scenes 2013-12-30 06:56:39 -07:00
platform-osx.mm added name dialog code, moved 'using namespace std;' out of headers and into source files 2013-12-29 04:40:53 -07:00
platform-windows.cpp added name dialog code, moved 'using namespace std;' out of headers and into source files 2013-12-29 04:40:53 -07:00
platform-x11.cpp fix check_path not using path variable 2014-01-03 23:22:49 +01:00
platform.hpp added name dialog code, moved 'using namespace std;' out of headers and into source files 2013-12-29 04:40:53 -07:00
settings-basic-general.cpp added name dialog code, moved 'using namespace std;' out of headers and into source files 2013-12-29 04:40:53 -07:00
settings-basic-video.cpp renamed some window files to ensure they sort a bit better 2013-12-28 21:51:18 -07:00
settings-basic.cpp fixed project file settings for those renamed files and fixed a typo 2013-12-28 21:53:38 -07:00
settings-basic.hpp finish up preliminary settings stuff 2013-12-18 12:09:20 -07:00
settings.hpp finish up preliminary settings stuff 2013-12-18 12:09:20 -07:00
window-basic-main.cpp Handle source adding/removal better 2014-01-06 20:20:18 -07:00
window-basic-main.hpp Handle source adding/removal better 2014-01-06 20:20:18 -07:00
window-basic-settings.cpp added name dialog code, moved 'using namespace std;' out of headers and into source files 2013-12-29 04:40:53 -07:00
window-basic-settings.hpp added name dialog code, moved 'using namespace std;' out of headers and into source files 2013-12-29 04:40:53 -07:00
window-namedialog.cpp fix warnings in window-namedialog and mark methods as override 2014-01-01 04:06:59 +01:00
window-namedialog.hpp fix warnings in window-namedialog and mark methods as override 2014-01-01 04:06:59 +01:00
wx-subclass.cpp Added preliminary settings window form 2013-12-10 11:21:34 -07:00
wx-subclass.hpp add settings data for general page, query available languages 2013-12-12 21:47:42 -07:00
wx-wrappers.cpp remove duplicate lines and reformat for 80 columns limit 2014-01-03 01:50:36 +01:00
wx-wrappers.hpp Added WX_UTF8 macro 2014-01-04 13:50:16 -07:00